Skip to main content

TypeMatch

Trait TypeMatch 

Source
pub trait TypeMatch {
    // Required method
    fn type_ident(&self) -> &str;

    // Provided method
    fn matches_type_ident(&self, arg: &str) -> bool { ... }
}

Required Methods§

Source

fn type_ident(&self) -> &str

Provided Methods§

Source

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".

Implementors§