pub trait DowncastFrom<T>{
// Required method
fn downcast_from(t: T) -> Result<Self, DowncastError>
where Self: Sized;
}Expand description
Required Methods§
fn downcast_from(t: T) -> Result<Self, DowncastError>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.