[][src]Struct combine::parser::function::FnParser

pub struct FnParser<Input, F>(_, _);

Trait Implementations

impl<Input: Clone, F: Clone> Clone for FnParser<Input, F>[src]

impl<Input: Copy, F: Copy> Copy for FnParser<Input, F>[src]

impl<Input, O, F> Parser<Input> for FnParser<Input, F> where
    Input: Stream,
    F: FnMut(&mut Input) -> StdParseResult<O, Input>, 
[src]

type Output = O

The type which is returned if the parser is successful.

type PartialState = ()

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

Auto Trait Implementations

impl<Input, F> RefUnwindSafe for FnParser<Input, F> where
    F: RefUnwindSafe

impl<Input, F> Send for FnParser<Input, F> where
    F: Send

impl<Input, F> Sync for FnParser<Input, F> where
    F: Sync

impl<Input, F> Unpin for FnParser<Input, F> where
    F: Unpin

impl<Input, F> UnwindSafe for FnParser<Input, F> where
    F: 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.