oni_comb_parser_rs::prelude

Trait PrimitiveParsers

Source
pub trait PrimitiveParsers: Parsers {
    // Required methods
    fn end<'a, I>() -> Self::P<'a, I, ()>
       where I: Debug + Display + 'a;
    fn empty<'a, I>() -> Self::P<'a, I, ()>;

    // Provided method
    fn begin<'a, I>() -> Self::P<'a, I, ()> { ... }
}

Required Methods§

Source

fn end<'a, I>() -> Self::P<'a, I, ()>
where I: Debug + Display + 'a,

Source

fn empty<'a, I>() -> Self::P<'a, I, ()>

Provided Methods§

Source

fn begin<'a, I>() -> Self::P<'a, I, ()>

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§