oni_comb_parser_rs::prelude

Trait PeekParsers

Source
pub trait PeekParsers: Parsers {
    // Required method
    fn peek<'a, I, A>(parser: Self::P<'a, I, A>) -> Self::P<'a, I, A>
       where A: Debug + 'a;
}

Required Methods§

Source

fn peek<'a, I, A>(parser: Self::P<'a, I, A>) -> Self::P<'a, I, A>
where A: Debug + 'a,

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§