oni_comb_parser_rs::prelude

Trait CacheParsers

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

Required Methods§

Source

fn cache<'a, I, A>(parser: Self::P<'a, I, A>) -> Self::P<'a, I, A>
where I: Clone + 'a, A: Clone + 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§