[][src]Struct alder::Map

pub struct Map<P, F, T> where
    P: Parser<T>, 
{ /* fields omitted */ }

Methods

impl<P, F, T> Map<P, F, T> where
    P: Parser<T>, 
[src]

pub fn new(parser: P, f: F) -> Self[src]

Trait Implementations

impl<T, O, P, F> Parser<O> for Map<P, F, T> where
    P: Parser<T>,
    F: Fn(T) -> O, 
[src]

Auto Trait Implementations

impl<P, F, T> RefUnwindSafe for Map<P, F, T> where
    F: RefUnwindSafe,
    P: RefUnwindSafe,
    T: RefUnwindSafe

impl<P, F, T> Send for Map<P, F, T> where
    F: Send,
    P: Send,
    T: Send

impl<P, F, T> Sync for Map<P, F, T> where
    F: Sync,
    P: Sync,
    T: Sync

impl<P, F, T> Unpin for Map<P, F, T> where
    F: Unpin,
    P: Unpin,
    T: Unpin

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