1 2 3 4 5 6 7 8 9 10
use modular_bitfield::prelude::*; #[bitfield] #[derive(Debug, Debug)] pub struct SignedInt { sign: bool, value: B31, } fn main() {}