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

Combines bitfield_bitrange and bitfield_fields.
Implements BitRange for a tuple struct (or “newtype”).
Generates a fmt::Debug implementation.
Declares the fields of struct.

Traits

A trait to get or set a single bit.
A trait to get or set ranges of bits.