Function bytemuck::internal::cast_slice_mut

source ·
pub(crate) unsafe fn cast_slice_mut<A: Copy, B: Copy>(a: &mut [A]) -> &mut [B]
Expand description

Cast &mut [A] into &mut [B].

§Panics

This is try_cast_slice_mut but will panic on error.