pub struct FieldMetadata<Base: Unsigned> {
pub name: &'static str,
pub high_bit: u32,
pub low_bit: u32,
pub default: Base,
}Expand description
The metadata of a (non-reserved) bitfield.
The iterator of a layout! type will have an associated item type of
(&'static FieldMetadata<Base>, Base).
Fields§
§name: &'static strThe name of the bitfield.
high_bit: u32The high bit of the bitfield.
low_bit: u32The low bit of the bitfield.
default: BaseThe default value of the bitfield.