pub trait FromBits: Sized {
    fn from_bits_le(bits: &[bool]) -> Result<Self, Error>;
    fn from_bits_be(bits: &[bool]) -> Result<Self, Error>;
}

Required Methods

Reads Self from a boolean array in little-endian order.

Reads Self from a boolean array in big-endian order.

Implementors