Trait PropPattern

Source
pub trait PropPattern {
    // Required method
    fn matches(&self, name: &str) -> bool;
}

Required Methods§

Source

fn matches(&self, name: &str) -> bool

Implementations on Foreign Types§

Source§

impl PropPattern for &str

Source§

fn matches(&self, name: &str) -> bool

Source§

impl<const N: usize> PropPattern for [&'static str; N]

Source§

fn matches(&self, name: &str) -> bool

Implementors§

Source§

impl<F> PropPattern for F
where F: Fn(&str) -> bool,