pub const fn div_into_u64<const B: u32, const ARG: u32>(v: f32) -> u64
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