Trait snarkvm_wasm::OrEqualsGadget[][src]

pub trait OrEqualsGadget<F> where
    F: Field
{ fn enforce_equal_or<CS>(
        cs: CS,
        cond: &Boolean,
        var: &Self,
        first: &Self,
        second: &Self
    ) -> Result<(), SynthesisError>
    where
        CS: ConstraintSystem<F>
;
fn cost() -> usize; }

Required methods

Implementors