Trait actiondb::matcher::Matcher [] [src]

pub trait Matcher: Debug {
    fn parse<'a, 'b>(&'a self, text: &'b str) -> Option<MatchResult<'a, 'b>>;
    fn add_pattern(&mut self, pattern: Pattern);
    fn boxed_clone(&self) -> Box<Matcher>;
}

Required Methods

fn parse<'a, 'b>(&'a self, text: &'b str) -> Option<MatchResult<'a, 'b>>

fn add_pattern(&mut self, pattern: Pattern)

fn boxed_clone(&self) -> Box<Matcher>

Implementors