pub trait CastMut<'a, T: ?Sized>: Sized + 'a {
    fn try_cast_mut_with_registry<P: DynamicTrait + ?Sized>(
        self,
        registry: &TypeRegistry
    ) -> Result<&'a mut P, TypeError>; fn try_cast_mut<P: DynamicTrait + ?Sized>(
        self
    ) -> Result<&'a mut P, TypeError> { ... } }
Expand description

Mutable reference casting interface.

Required Methods

Try casting self using type information from registry.

Provided Methods

Try casting self using the current global type registry (see TypeRegistryExt::set_current()).

Implementations on Foreign Types

Implementors