Kixiron opened this issue 2 years ago · 0 comments
The NonZero* types can't implement Pod so the blanket implementation of NoUninit for T: Pod doesn't cover them, which means that you can't use bytemuck::cast_slice::<NonZeroU32, u32>() and similar calls
NonZero*
Pod
NoUninit for T: Pod
bytemuck::cast_slice::<NonZeroU32, u32>()