Trait TypedMapStrategy
pub trait TypedMapStrategy: Sealed {
type ValueBase;
// Required methods
fn downcast_ref<R>(stored: &Self::ValueBase) -> Option<&R>
where R: 'static;
fn downcast_mut<R>(stored: &mut Self::ValueBase) -> Option<&mut R>
where R: 'static;
}Required Associated Types§
type ValueBase
Required Methods§
fn downcast_ref<R>(stored: &Self::ValueBase) -> Option<&R>where
R: 'static,
fn downcast_mut<R>(stored: &mut Self::ValueBase) -> Option<&mut R>where
R: 'static,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".