Expand description
A pure Rust, no-std implementation of bit fields
Macros§
- flags
- Generates an enum of the given flags and their offsets
Structs§
- BitField8
- A bit field containing a
u8This is the mutable form and can be converted withFrom::fromorInto::into. - BitField16
- A bit field containing a
u16This is the mutable form and can be converted withFrom::fromorInto::into. - BitField32
- A bit field containing a
u32This is the mutable form and can be converted withFrom::fromorInto::into. - BitField64
- A bit field containing a
u64This is the mutable form and can be converted withFrom::fromorInto::into. - BitField128
- A bit field containing a
u128This is the mutable form and can be converted withFrom::fromorInto::into. - Const
BitField8 - A bit field containing a
u8This is the immutable form and can be converted withFrom::fromorInto::into. - Const
BitField16 - A bit field containing a
u16This is the immutable form and can be converted withFrom::fromorInto::into. - Const
BitField32 - A bit field containing a
u32This is the immutable form and can be converted withFrom::fromorInto::into. - Const
BitField64 - A bit field containing a
u64This is the immutable form and can be converted withFrom::fromorInto::into. - Const
BitField128 - A bit field containing a
u128This is the immutable form and can be converted withFrom::fromorInto::into.
Traits§
- Const
Field - Allows a value to be used as an immutable bit field
- Field
- Allows a value to be used as a mutable bit field
- Flag
- Allows a value to be represented as a bit flag