pub trait Hintable<C: Config> {
type HintVariable: MemVariable<C>;
// Required methods
fn read(builder: &mut Builder<C>) -> Self::HintVariable;
fn write(&self) -> Vec<Vec<C::N>>;
// Provided method
fn witness(variable: &Self::HintVariable, builder: &mut Builder<C>) { ... }
}
Required Associated Types§
type HintVariable: MemVariable<C>
Required Methods§
fn read(builder: &mut Builder<C>) -> Self::HintVariable
fn write(&self) -> Vec<Vec<C::N>>
Provided Methods§
fn witness(variable: &Self::HintVariable, builder: &mut Builder<C>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.