oni_comb_parser_rs::prelude

Trait CollectParser

Source
pub trait CollectParser<'a>: ParserRunner<'a> {
    // Required method
    fn collect(self) -> Self::P<'a, Self::Input, &'a [Self::Input]>
       where Self::Output: Debug + 'a;
}

Required Methods§

Source

fn collect(self) -> Self::P<'a, Self::Input, &'a [Self::Input]>
where Self::Output: 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> CollectParser<'a> for Parser<'a, I, A>