pub fn dyn_cast_mut<T: SupportsInterfaces + ?Sized, DynInterface>(
x: &mut T,
) -> Option<&mut DynInterface>Expand description
Runtime-checking safe cast for unique references.
pub fn dyn_cast_mut<T: SupportsInterfaces + ?Sized, DynInterface>(
x: &mut T,
) -> Option<&mut DynInterface>Runtime-checking safe cast for unique references.