pub trait Bits: Copy + Eq + PartialEq where
    Self: Binary,
    Self: Shl<u16, Output = Self>,
    Self: Shr<u16, Output = Self>,
    Self: BitAnd<Output = Self>, 
{ const BITS: u16; const ZERO: Self; const ONE: Self; fn is_zero(self) -> bool { ... } }
Expand description

Types suitable for bit representations.

Associated Constants

The number of bits.

The value 0.

The value 1.

Provided methods

Test if the value is zero.

Implementations on Foreign Types

Implementors