Trait commodore::Matcher [] [src]

pub trait Matcher: Send + Sync {
    fn matches<'a>(&self, cmd: &'a Command) -> (Option<Captures<'a>>, bool);
}

Command matching interface

Required Methods

returns of tuple of optional captures and an indicator for whether or not the provided command is matched

Implementors