Function bytemuck::try_cast_slice_mut [−][src]
pub fn try_cast_slice_mut<A: Pod, B: Pod>(
a: &mut [A]
) -> Result<&mut [B], PodCastError>
Try to convert &mut [A]
into &mut [B]
(possibly with a change in
length).
As try_cast_slice
, but &mut
.