1 2 3 4 5 6 7 8 9
use bitstruct::bitstruct; bitstruct! { struct Reg(u32) { field1: u64 = 0 .. 33; } } fn main() {}