use scryer_modular_bitfield::prelude::*; #[bitfield] #[derive(BitfieldSpecifier)] #[derive(BitfieldSpecifier)] pub struct SignedInt { sign: bool, value: B31, } fn main() {}