bytemuck
pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B]
Cast &mut [T] into &mut [U].
&mut [T]
&mut [U]
This is try_cast_slice_mut but will panic on error.
try_cast_slice_mut