oni_comb_parser_rs::prelude

Trait DiscardParsers

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

Required Methods§

Source

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