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

pub struct Factory<P, R>(_, _);

Trait Implementations

impl<P: Clone, R: Clone> Clone for Factory<P, R>[src]

impl<P: Copy, R: Copy> Copy for Factory<P, R>[src]

impl<Input, O, P, R> Parser<Input> for Factory<P, R> where
    Input: Stream,
    P: FnMut(&mut Input) -> R,
    R: Parser<Input, Output = O>, 
[src]

type Output = O

The type which is returned if the parser is successful.

type PartialState = R::PartialState

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

Auto Trait Implementations

impl<P, R> RefUnwindSafe for Factory<P, R> where
    P: RefUnwindSafe,
    R: RefUnwindSafe

impl<P, R> Send for Factory<P, R> where
    P: Send,
    R: Send

impl<P, R> Sync for Factory<P, R> where
    P: Sync,
    R: Sync

impl<P, R> Unpin for Factory<P, R> where
    P: Unpin,
    R: Unpin

impl<P, R> UnwindSafe for Factory<P, R> where
    P: UnwindSafe,
    R: UnwindSafe

Blanket Implementations

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

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

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

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.