Function bytemuck::internal::try_cast_slice_mut
source ยท pub(crate) unsafe fn try_cast_slice_mut<A: Copy, B: Copy>(
a: &mut [A],
) -> Result<&mut [B], PodCastError>
Expand description
Try to convert &mut [A]
into &mut [B]
(possibly with a change in
length).
As try_cast_slice
, but &mut
.