modular-bitfield 0.12.0

Easily define bitfield types with modular building blocks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use modular_bitfield::prelude::*;

#[bitfield]
struct Unit;

#[bitfield]
struct Named {}

#[bitfield]
struct Unnamed();

fn main() {}