Skip to main content

IMatch

Trait IMatch 

Source
pub trait IMatch {
    type Value;
    type Output;

    // Required method
    fn match_value(&self, value: Self::Value) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn match_value(&self, value: Self::Value) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§