[][src]Trait runtime_cfg::matches::Pattern

pub trait Pattern {
    fn matches(&self, key: &str, value: Option<&str>) -> bool;
}

A pattern for configuration matching.

Required methods

fn matches(&self, key: &str, value: Option<&str>) -> bool

Loading content...

Implementations on Foreign Types

impl<K, V> Pattern for [(K, Option<V>)] where
    K: Matcher,
    V: Matcher
[src]

impl<K, V> Pattern for Vec<(K, Option<V>)> where
    K: Matcher,
    V: Matcher
[src]

impl<K, V> Pattern for HashMap<K, V> where
    K: Eq + Hash + Borrow<str>,
    V: Matcher
[src]

Loading content...

Implementors

Loading content...