Expand description
This crate provides macros to generate bitfield-like struct.
See the documentation of the macros for how to use them.
Examples and tests are also a great way to understand how to use these macros.
Macros§
- bitfield
- Combines
bitfield_bitrangeandbitfield_fields. - bitfield_
bitrange - Implements
BitRangefor a tuple struct (or “newtype”). - bitfield_
debug - Generates a
fmt::Debugimplementation. - bitfield_
fields - Declares the fields of struct.