[−][src]Trait bitvec::mem::BitMemory
Description of an integer type.
This trait provides information used to describe integer-typed regions of memory and enables other parts of the crate to adequately describe the memory bus. This trait has no bearing on the processor instructions or registers used to interact with memory.
This trait cannot be implemented outside this crate.
Associated Constants
const BITS: u8
The bit width of the integer.
mem::size_of
returns the size in bytes, and bytes are always eight
bits on architectures Rust targets.
const INDX: u8
The number of bits required to store an index in the range 0 .. BITS
.
const MASK: u8
A mask over all bits that can be used as an index within the element.
const ONE: Self
The value with only its least significant bit set to 1
.
const ALL: Self
The value with all of its bits set to 1
.