Skip to main content

Crate bitrs

Crate bitrs 

Source

Macros§

layout
Specifies a layout of bitfields.

Structs§

FieldMetadata
The metadata of a (non-reserved) bitfield.
InvalidBits
Represents an invalid bit pattern for a field with a custom representation.

Traits§

Unsigned
Implemented by unsigned integral type, this trait represents a valid base type for a bitfield layout.

Attribute Macros§

bitfield_repr
Syntax sugar for defining a layout representation that also auto-derives the traits required of a custom bitfield representation.