pub trait TypeMatch {
// Required method
fn type_ident(&self) -> &str;
// Provided method
fn matches_type_ident(&self, arg: &str) -> bool { ... }
}Required Methods§
fn type_ident(&self) -> &str
Provided Methods§
fn matches_type_ident(&self, arg: &str) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".