pub trait Classify {
type Output;
// Required method
fn classify(&self) -> Self::Output;
}Expand description
Classify defines an interface for objects capable of being classified as other types.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".