[][src]Trait stringmatch::Needle

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

Required methods

pub fn is_match(&self, haystack: &str) -> bool[src]

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...