charon_lib::name_matcher::parser

Trait ParserExtExt

source
trait ParserExtExt<I, O, E>: Parser<I, O, E> + Sized
where I: Clone, E: ParseError<I>,
{ // Provided method fn followed_by<F, O2>(self, suffix: F) -> impl Parser<I, O, E> where F: Parser<I, O2, E> { ... } }
Expand description

Extra methods on parsers.

Provided Methods§

source

fn followed_by<F, O2>(self, suffix: F) -> impl Parser<I, O, E>
where F: Parser<I, O2, E>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl<I, O, E, P> ParserExtExt<I, O, E> for P
where I: Clone, E: ParseError<I>, P: Parser<I, O, E>,