pub trait Pattern { fn matches<T: AsRef<str>>(&self, other: T) -> bool; }
Pattern that can be matched to string.
Returns true if given string matches the pattern.