pub const fn div_into_u8<const B: u32, const ARG: u32>(v: f32) -> u8
The clamped result is always within the #[bits(B)] range, so bitfield_struct’s bounds check never fires. This is why a custom try is needed
#[bits(B)]
bitfield_struct