Attribute Macros§
- bitsize
- Defines the bitsize of a struct or an enum.
Derive Macros§
- Binary
Bits - Generate an
impl core::fmt::Binaryfor bitfields. - Builder
Bits - Generate a compile-time builder (
typed-builderstyle: each field exactly once). - Debug
Bits - Generate an
impl core::fmt::Debugfor bitfield structs. - Default
Bits - Generate an
impl core::default::Defaultfor bitfield structs. - From
Bits - Generate an
impl From<uN>for filled bitfields. - TryFrom
Bits - Generate an
impl TryFrom<uN>for unfilled bitfields.