Trait Parse

Source
pub trait Parse<I> {
    type Output;

    // Required method
    fn parse<S: Source<Item = I>>(input: &mut S) -> Result<Self::Output>;
}

Required Associated Types§

Required Methods§

Source

fn parse<S: Source<Item = I>>(input: &mut S) -> Result<Self::Output>

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<I, T: ParseImpl<I, ()>, O> Parse<I> for T
where T::Output: SingleTuple<Item = O>,