[][src]Struct combine::parser::combinator::InputConverter

pub struct InputConverter<InputInner, P, C> where
    InputInner: Stream
{ pub parser: P, pub converter: C, pub _marker: PhantomData<fn(_: InputInner)>, }

Fields

parser: Pconverter: C_marker: PhantomData<fn(_: InputInner)>

Trait Implementations

impl<Input, InputInner, P, C> Parser<Input> for InputConverter<InputInner, P, C> where
    Input: Stream,
    InputInner: Stream,
    P: Parser<InputInner>,
    C: Converter<'c, Input, InputInner = InputInner>, 
[src]

type Output = P::Output

The type which is returned if the parser is successful.

type PartialState = P::PartialState

Determines the state necessary to resume parsing after more input is supplied. Read more

Auto Trait Implementations

impl<InputInner, P, C> Send for InputConverter<InputInner, P, C> where
    C: Send,
    P: Send

impl<InputInner, P, C> Sync for InputConverter<InputInner, P, C> where
    C: Sync,
    P: Sync

impl<InputInner, P, C> Unpin for InputConverter<InputInner, P, C> where
    C: Unpin,
    P: Unpin

impl<InputInner, P, C> UnwindSafe for InputConverter<InputInner, P, C> where
    C: UnwindSafe,
    P: UnwindSafe

impl<InputInner, P, C> RefUnwindSafe for InputConverter<InputInner, P, C> where
    C: RefUnwindSafe,
    P: RefUnwindSafe

Blanket Implementations

impl<Input, P> EasyParser<Input> for P where
    Input: Stream,
    P: Parser<Stream<Input>> + ?Sized,
    <Input as StreamOnce>::Token: PartialEq<<Input as StreamOnce>::Token>,
    <Input as StreamOnce>::Range: PartialEq<<Input as StreamOnce>::Range>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]