Skip to main content

Classify

Trait Classify 

Source
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§

Source

fn classify(&self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§