pub trait ExtTypeName {
// Required method
fn type_name(&self) -> &str
where Self: Sized;
}Expand description
Trait to retrieve the string value (i.e. name) of a type.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".