pub trait TypeExt {
// Required methods
fn concrete_typename(&self) -> &str;
fn is_subtype(&self, sub: &Type) -> bool;
}Required Methods§
fn concrete_typename(&self) -> &str
fn is_subtype(&self, sub: &Type) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".