pub fn cast_slice_mut<A, B>(a: &mut [A]) -> &mut [B] ⓘwhere A: NoUninit + AnyBitPattern, B: NoUninit + CheckedBitPattern,
dep_bytemuck
Cast &mut [A] into &mut [B].
&mut [A]
&mut [B]
This is try_cast_slice_mut but will panic on error.
try_cast_slice_mut