Skip to main content

U5

Type Alias U5 

Source
pub type U5 = UInt<UInt<UInt<UTerm, B1>, B0>, B1>;

Aliased Type§

pub struct U5 { /* private fields */ }

Trait Implementations§

Source§

impl Bit for U5

Source§

const HEAD_MASK: u8 = _

The mask used to discard bits before this bit (i.e. if this bit is 5, ANDing this mask with a u8 will ensure bits 7 and 6 are 0.
Source§

const BIT_MASK: u8 = _

The mask used to extract the single bit from a byte
Source§

const TAIL_MASK: u8 = _

The mask used to discard bits after this bit (i.e. if this bit is 5, ANDing this mask with a u8 will ensure bits 4 to 0 are 0