1 2 3 4 5 6 7 8 9
use crate::core::ParserRunner; use std::fmt::Debug; pub trait CacheParser<'a>: ParserRunner<'a> { fn cache(self) -> Self::P<'a, Self::Input, Self::Output> where Self::Input: Clone + 'a, Self::Output: Clone + Debug + 'a; }