Module bitvec::indices [−][src]
Element bit indexing.
This module provides strong indexing types to manage the concept of addressing
bits inside spans of memory elements. The crate needs to have a concept of bit
positions that exist in memory (BitIdx
), abstract “dead” bits that mark the
first bit past the end of a memory region and are not required to exist in
hardware (BitTail
), specific bit positions that may be accessed by machine
instructions (BitPos
), and element values that mask one or more bits of
interest (BitMask
).
Structs
BitIdx | Indicates a semantic index of a bit within a memory element. |
BitMask | Wrapper type indicating a one-hot encoding of a bit mask for an element. |
BitPos | Indicates a real electrical index within an element. |