Struct combine::parser::item::SatisfyMap[][src]

pub struct SatisfyMap<I, P> { /* fields omitted */ }

Trait Implementations

impl<I: Clone, P: Clone> Clone for SatisfyMap<I, P>[src]

impl<I: Copy, P: Copy> Copy for SatisfyMap<I, P>[src]

impl<I, P, R> Parser for SatisfyMap<I, P> where
    I: Stream,
    P: FnMut(I::Item) -> Option<R>, 
[src]

type Input = I

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 = R

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<I, P> RefUnwindSafe for SatisfyMap<I, P> where
    I: RefUnwindSafe,
    P: RefUnwindSafe

impl<I, P> Send for SatisfyMap<I, P> where
    I: Send,
    P: Send

impl<I, P> Sync for SatisfyMap<I, P> where
    I: Sync,
    P: Sync

impl<I, P> Unpin for SatisfyMap<I, P> where
    I: Unpin,
    P: Unpin

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