Trait gadgets::less_than::LtInstruction
source · pub trait LtInstruction<F: Field> {
// Required methods
fn assign(
&self,
region: &mut Region<'_, F>,
offset: usize,
lhs: Value<F>,
rhs: Value<F>
) -> Result<(), Error>;
fn load(&self, layouter: &mut impl Layouter<F>) -> Result<(), Error>;
}
Expand description
Instruction that the Lt chip needs to implement.
Required Methods§
Object Safety§
This trait is not object safe.