Function bytemuck::try_cast_mut [−][src]
pub fn try_cast_mut<A: Pod, B: Pod>(a: &mut A) -> Result<&mut B, PodCastError>
Try to convert a &mut T
into &mut U
.
As try_cast_ref
, but mut
.
pub fn try_cast_mut<A: Pod, B: Pod>(a: &mut A) -> Result<&mut B, PodCastError>
Try to convert a &mut T
into &mut U
.
As try_cast_ref
, but mut
.