pub trait Matcher: AsStr { // Required method fn is_match(&self, haystack: &str) -> bool; }
Returns true if and only if there is a match for the pattern anywhere in the haystack given.