Provides macros to support bitfield structs allowing for modular use of bit-enums.
The mainly provided macros are
#[bitfield] for structs and
#[derive(BitfieldSpecifier)] for enums that shall be usable
within bitfield structs.
There are preset bitfield specifiers such as
that allow for easy bitfield usage in structs very similar to how
they work in C or C++.
- Performance of the macro generated code is as fast as its hand-written alternative.
- Compile-time checks allow for safe usage of bitfield structs and enums.
The default set of predefined specifiers.
Trait implemented by all bitfield specifiers.