Trait gadgets::is_zero::IsZeroInstruction
source · pub trait IsZeroInstruction<F: Field> {
// Required method
fn assign(
&self,
region: &mut Region<'_, F>,
offset: usize,
value: Value<F>
) -> Result<(), Error>;
}
Expand description
Trait that needs to be implemented for any gadget or circuit that wants to
implement IsZero
.