[][src]Trait ogma::matcher::MatchFunc

pub trait MatchFunc<'a, C>: 'a + Match<'a, C> + Callable {
    fn match_func(
        ctx: &mut C,
        string: &'a str
    ) -> Result<Box<dyn Callable + 'a>, MatchError> { ... } }

Auto implemented trait for types which both implement Match and Callable

Provided methods

fn match_func(
    ctx: &mut C,
    string: &'a str
) -> Result<Box<dyn Callable + 'a>, MatchError>

Loading content...

Implementors

impl<'a, C, T> MatchFunc<'a, C> for T where
    T: 'a + Match<'a, C> + Callable
[src]

Loading content...