Trait Bits

pub trait Bits: Clone + Copy + PartialEq + BitAnd<Output = Self> + BitOr<Output = Self> + BitXor<Output = Self> + Not<Output = Self> + Sized + 'static

A bits type that can be used as storage for a flags type.

Associated Constants

const EMPTY: Self;

A value with all bits unset.

const ALL: Self;

A value with all bits set.

Implementors