use scryer_modular_bitfield::prelude::*; #[bitfield] #[derive(Debug)] pub struct Sparse { #[skip(getters)] #[skip(setters)] unused_1: B7, a: bool, } fn main() { let sparse = Sparse::from_bytes([0xFF; 1]); sparse.set_unused_1(0); // ERROR! }