pub trait FromBits {
    type Boolean: BooleanTrait;

    fn from_bits_le(bits_le: &[Self::Boolean]) -> Self
    where
        Self: Sized
; fn from_bits_be(bits_be: &[Self::Boolean]) -> Self
    where
        Self: Sized
; }
Expand description

Unary operator for instantiating from bits.

Required Associated Types§

Required Methods§

Trait Implementations§

Returns the number of constants, public inputs, private inputs, and constraints.
Returns the mode of the output.

Implementors§