Trait kernel::reg::RegisterBits
source · pub trait RegisterBits: Copy + From<bool> + PartialEq<Self> + BitAnd<Self, Output = Self> + BitOr<Self, Output = Self> + Not<Output = Self> + Shl<usize, Output = Self> + Shr<usize, Output = Self> {
// Required methods
fn zero() -> Self;
fn mask(width: usize) -> Self;
}Expand description
Values which can be used as the underlying storage for a register.