pub trait Castable {
// Required method
fn castable<T: ?Sized + 'static>() -> bool;
}Expand description
Whether this concrete type can be cast to a given trait object
Required Methods§
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.