modular-bitfield 0.12.0

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

#[bitfield]
struct Generic<T> {
    t: core::marker::PhantomData<T>,
}

fn main() {}