Skip to main content

ParseFromWithOneInput

Trait ParseFromWithOneInput 

Source
pub trait ParseFromWithOneInput<'a, I1>: Sized {
    type Error;

    // Required method
    fn parse(cur: &mut SliceReader<'a>, i1: I1) -> Result<Self, Self::Error>;
}
Expand description

Parse Self from the cursor with one immutable context argument.

Required Associated Types§

Required Methods§

Source

fn parse(cur: &mut SliceReader<'a>, i1: I1) -> Result<Self, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§