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