Trait Parser

Source
pub trait Parser<I: Default, O = I> {
    // Required method
    fn parse(input: I) -> (I, O);
}

Required Methods§

Source

fn parse(input: I) -> (I, O)

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§