Skip to main content

Crate chapa_macros

Crate chapa_macros 

Source
Expand description

Procedural macro implementation for the chapa bitfield crate.

This crate is not meant to be used directly. Use the chapa crate instead, which re-exports the bitfield attribute macro and BitEnum derive macro from here.

Attribute Macros§

bitfield
The #[bitfield] attribute macro.

Derive Macros§

BitEnum
Derive macro that implements chapa::BitField for C-like enums.