Type definition of an owned bitfield with compile-time calculation of mask and shift
BitFieldImpl | Marker type representing an owned bitfield. TOwner is the owning type of the
bitfield. Shift and Mask are typenum::Unsigned types representing the shift and mask
values used to access the bitfield. These are both converted to constants in the BitFieldTrait
implemented for this struct.
|
BitFieldTrait | Tracks the Owner , shift and mask used by the Storage::* methods to provide access
to an owned bit field.
|
BitField | Define a BitField bound to TOWner (typically a Storage ). The bit range of
the field includes bits from X to Y inclusively. The ordering of bit positions
does not matter: BitField<Owner, B0, B7> defines the same field as BitField<Owner, B7, B0>
although technically the two are distinct types.
|