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

pub struct Recognize<F, P>(_, _);

Trait Implementations

impl<F: Clone, P: Clone> Clone for Recognize<F, P>[src]

impl<F: Copy, P: Copy> Copy for Recognize<F, P>[src]

impl<P, F> Parser for Recognize<F, P> where
    P: Parser,
    F: Default + Extend<<P::Input as StreamOnce>::Item>, 
[src]

type Input = P::Input

The type which is taken as input for the parser. The type must implement the Stream trait which allows the parser to read items from the type. Read more

type Output = F

The type which is returned if the parser is successful.

type PartialState = (F, P::PartialState)

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

Auto Trait Implementations

impl<F, P> RefUnwindSafe for Recognize<F, P> where
    P: RefUnwindSafe

impl<F, P> Send for Recognize<F, P> where
    P: Send

impl<F, P> Sync for Recognize<F, P> where
    P: Sync

impl<F, P> Unpin for Recognize<F, P> where
    P: Unpin

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