oni_comb_parser_rs::prelude

Trait CacheParser

Source
pub trait CacheParser<'a>: ParserRunner<'a> {
    // Required method
    fn cache(self) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Clone + 'a,
             Self::Output: Clone + Debug + 'a;
}

Required Methods§

Source

fn cache(self) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Clone + 'a, Self::Output: 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§

Source§

impl<'a, I, A> CacheParser<'a> for Parser<'a, I, A>