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.