[][src]Trait stringmatch::Needle

pub trait Needle {
    fn is_match(&self, haystack: &str) -> bool;
}

Required methods

fn is_match(&self, haystack: &str) -> bool

Loading content...

Implementations on Foreign Types

impl Needle for Regex[src]

impl<'_> Needle for &'_ str[src]

impl Needle for String[src]

Loading content...

Implementors

impl Needle for StringMatch[src]

Loading content...