pub trait DynMatcher: DynMatcherMut {
    // Required method
    fn try_match_dyn<'input>(
        &self,
        input: Input<'input>,
        context: &dyn Context<'input, '_>
    ) -> DiagResult<MatchResult<'input>>;
}

Required Methods§

source

fn try_match_dyn<'input>( &self, input: Input<'input>, context: &dyn Context<'input, '_> ) -> DiagResult<MatchResult<'input>>

Trait Implementations§

source§

impl<'a> MatcherMut for Box<dyn DynMatcher + 'a>

source§

fn try_match_mut<'input, 'context, C>( &self, input: Input<'input>, context: &mut C ) -> DiagResult<MatchResult<'input>>
where C: Context<'input, 'context> + ?Sized,

Search for a match in the given input buffer Read more
source§

impl<'a> MatcherMut for dyn DynMatcher + 'a

source§

fn try_match_mut<'input, 'context, C>( &self, input: Input<'input>, context: &mut C ) -> DiagResult<MatchResult<'input>>
where C: Context<'input, 'context> + ?Sized,

Search for a match in the given input buffer Read more

Implementors§

source§

impl<M> DynMatcher for M
where M: Matcher,