[][src]Struct combinedfun::combinators::Map

pub struct Map<F1, F2>(_, _);

Trait Implementations

impl<I, F1, F2, O> ParserImpl<I> for Map<F1, F2> where
    F1: ParserImpl<I>,
    F2: Fn(F1::Output) -> O, 
[src]

type Output = O

The output type of the parser

type Error = F1::Error

The error type of the parser

Auto Trait Implementations

impl<F1, F2> Sync for Map<F1, F2> where
    F1: Sync,
    F2: Sync

impl<F1, F2> Send for Map<F1, F2> where
    F1: Send,
    F2: Send

impl<F1, F2> Unpin for Map<F1, F2> where
    F1: Unpin,
    F2: Unpin

impl<F1, F2> RefUnwindSafe for Map<F1, F2> where
    F1: RefUnwindSafe,
    F2: RefUnwindSafe

impl<F1, F2> UnwindSafe for Map<F1, F2> where
    F1: UnwindSafe,
    F2: UnwindSafe

Blanket Implementations

impl<I, P, T> Tag<Span<I, P>> for T where
    I: Clone,
    P: Position<I>,
    T: Tag<I> + ?Sized
[src]

type Output = <T as Tag<I>>::Output

impl<F, I, O, E> ParserImpl<I> for F where
    F: Fn(I) -> Result<(I, O), E>, 
[src]

type Output = O

The output type of the parser

type Error = E

The error type of the parser

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

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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