Trait bitvec::mem::BitRegister
source · [−]pub trait BitRegister: Unsigned + BitOps {
const ALL: Self;
const INDX: u8 = _;
const MASK: u8 = _;
}
Expand description
Register Descriptions
This trait describes the unsigned integer types that can be manipulated in a target processor’s general-purpose registers. It has no bearing on the processor instructions or registers used to interact with the memory bus, and solely exists to describe integers that can exist on a system.
Required Associated Constants
Provided Associated Constants
Implementations on Foreign Types
sourceimpl BitRegister for u8
impl BitRegister for u8
sourceimpl BitRegister for u16
impl BitRegister for u16
sourceimpl BitRegister for u32
impl BitRegister for u32
sourceimpl BitRegister for u64
impl BitRegister for u64
u64
can only be used as a register on processors whose word size is at
least 64 bits.
This implementation is not present on targets with 32-bit processor words.