oni_comb_parser_rs::prelude

Trait LazyParsers

Source
pub trait LazyParsers: Parsers {
    // Required method
    fn lazy<'a, I, A, F>(f: F) -> Self::P<'a, I, A>
       where F: Fn() -> Self::P<'a, I, A> + 'a,
             A: Debug + 'a;
}

Required Methods§

Source

fn lazy<'a, I, A, F>(f: F) -> Self::P<'a, I, A>
where F: Fn() -> Self::P<'a, I, A> + 'a, 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§