use scryer_modular_bitfield::prelude::*; #[bitfield] #[derive(BitfieldSpecifier)] pub struct Header { live: bool, received: bool, status: B2, rest: B4, } fn main() { assert_eq!(
::BITS, 8); }