1 2 3 4 5 6 7 8 9 10 11 12 13
use modular_bitfield::prelude::*; #[bitfield] pub struct Generated { pub a: B9, pub b: B6, pub c: B13, pub d: B1, pub e: B3, pub f: B32, } fn main() {}