Skip to main content

MatchKey

Trait MatchKey 

Source
pub trait MatchKey {
    // Required method
    fn match_key(&self, key: &Key) -> bool;
}

Required Methods§

Source

fn match_key(&self, key: &Key) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl MatchKey for char

Source§

fn match_key(&self, key: &Key) -> bool

Implementors§