pub trait ToBits {
    type Boolean: BooleanTrait;

    fn to_bits_le(&self) -> Vec<Self::Boolean, Global> ;
    fn to_bits_be(&self) -> Vec<Self::Boolean, Global> ;
}
Expand description

Unary operator for converting to bits.

Required Associated Types

Required Methods

Returns the little-endian bits of the circuit.

Returns the big-endian bits of the circuit.

Trait Implementations

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

Implementations on Foreign Types

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

A helper method to return a concatenated list of little-endian bits from the circuits.

A helper method to return a concatenated list of big-endian bits from the circuits.

Implementors