pub trait MethodType {
// Required method
fn method_id() -> Cow<'static, str>
where Self: Sized;
}Expand description
A trait that identifies a method on type level
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".