Trait snarkvm_wasm::traits::utilities::bits::ComparatorGadget [−][src]
Provided methods
pub fn greater_than<CS>(
&self,
cs: CS,
other: &Self
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>, [src]
&self,
cs: CS,
other: &Self
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>,
pub fn less_than_or_equal<CS>(
&self,
cs: CS,
other: &Self
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>, [src]
&self,
cs: CS,
other: &Self
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>,
pub fn greater_than_or_equal<CS>(
&self,
cs: CS,
other: &Self
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>, [src]
&self,
cs: CS,
other: &Self
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>,
Implementors
impl<F> ComparatorGadget<F> for Int8 where
F: PrimeField, [src]
F: PrimeField,
impl<F> ComparatorGadget<F> for Int16 where
F: PrimeField, [src]
F: PrimeField,
impl<F> ComparatorGadget<F> for Int32 where
F: PrimeField, [src]
F: PrimeField,
impl<F> ComparatorGadget<F> for Int64 where
F: PrimeField, [src]
F: PrimeField,
impl<F> ComparatorGadget<F> for Int128 where
F: PrimeField, [src]
F: PrimeField,
impl<F> ComparatorGadget<F> for UInt8 where
F: Field + PrimeField, [src]
F: Field + PrimeField,
impl<F> ComparatorGadget<F> for UInt16 where
F: Field + PrimeField, [src]
F: Field + PrimeField,
impl<F> ComparatorGadget<F> for UInt32 where
F: Field + PrimeField, [src]
F: Field + PrimeField,
impl<F> ComparatorGadget<F> for UInt64 where
F: Field + PrimeField, [src]
F: Field + PrimeField,
impl<F> ComparatorGadget<F> for UInt128 where
F: Field + PrimeField, [src]
F: Field + PrimeField,