Expand description

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

Indicates a semantic index of a bit within a memory element.

Wrapper type indicating a one-hot encoding of a bit mask for an element.

Indicates a real electrical index within an element.