pub trait FromBits {
    type Boolean: BooleanTrait;

    // Required methods
    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§

source

fn from_bits_le(bits_le: &[Self::Boolean]) -> Selfwhere Self: Sized,

source

fn from_bits_be(bits_be: &[Self::Boolean]) -> Selfwhere Self: Sized,

Implementors§