pub trait ToBits {
type Boolean: BooleanTrait;
// Required methods
fn to_bits_le(&self) -> Vec<Self::Boolean>;
fn to_bits_be(&self) -> Vec<Self::Boolean>;
}
Expand description
Unary operator for converting to bits.
Returns the little-endian bits of the circuit.
Returns the big-endian bits of the circuit.
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.