pub trait Match<K>: Send + Sync {
// Required methods
fn match_key(&self, key: &Key<K>) -> bool;
fn match_children(&self, key: &Key<K>) -> bool;
}
Expand description
Trait that matches keys
Required Methods§
Sourcefn match_children(&self, key: &Key<K>) -> bool
fn match_children(&self, key: &Key<K>) -> bool
Returns true if self can match a children of the given Key