Trait puffin::algebra::Matcher

source ·
pub trait Matcher: Debug + Clone + Hash + Serialize + DeserializeOwned + PartialEq {
    fn matches(&self, matcher: &Self) -> bool;
    fn specificity(&self) -> u32;
}
Expand description

Determines whether two instances match. We can also ask it how specific it is.

Required Methods§

Implementations on Foreign Types§

Implementors§