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