pub(crate) unsafe fn try_cast_mut<A: Copy, B: Copy>(
a: &mut A,
) -> Result<&mut B, PodCastError>Expand description
Try to convert a &mut A into &mut B.
As try_cast_ref, but mut.
pub(crate) unsafe fn try_cast_mut<A: Copy, B: Copy>(
a: &mut A,
) -> Result<&mut B, PodCastError>Try to convert a &mut A into &mut B.
As try_cast_ref, but mut.