Trait Needle
stringmatch
pub trait Needle { fn is_match(&self, haystack: &str) -> bool; }
fn is_match(&self, haystack: &str) -> bool
impl Needle for Regex
impl<'_> Needle for &'_ str
impl Needle for String
impl Needle for StringMatch