bitfields 2.0.6

Macro for for generating bitfields from structs and enum bitflags for defining packed binary schemas in low-level systems (e.g. embedded development or emulators)
Documentation
1
2
3
4
5
6
7
8
9
use bitfields::bitflag;

#[bitflag(u8)]
pub struct Flags {
    a: u8,
}

fn main() {}