pub trait ToBitsLEGadget<F: Field> {
    fn to_bits_le<CS: ConstraintSystem<F>>(
        &self,
        cs: CS
    ) -> Result<Vec<Boolean>, SynthesisError>;
fn to_bits_le_strict<CS: ConstraintSystem<F>>(
        &self,
        cs: CS
    ) -> Result<Vec<Boolean>, SynthesisError>; }

Required methods

Additionally checks if the produced list of booleans is ‘valid’.

Implementations on Foreign Types

Implementors