[][src]Struct munch::MapErr

pub struct MapErr<A, F>(_, _);

Trait Implementations

impl<A, F, Input, Error> Parser<Input> for MapErr<A, F> where
    A: Parser<Input>,
    F: FnMut(A::Error) -> Error, 
[src]

type Output = A::Output

type Error = Error

impl<A: Clone, F: Clone> Clone for MapErr<A, F>[src]

impl<A: Copy, F: Copy> Copy for MapErr<A, F>[src]

impl<A: PartialEq, F: PartialEq> PartialEq<MapErr<A, F>> for MapErr<A, F>[src]

impl<A: Debug, F: Debug> Debug for MapErr<A, F>[src]

impl<A, F> StructuralPartialEq for MapErr<A, F>[src]

Auto Trait Implementations

impl<A, F> Send for MapErr<A, F> where
    A: Send,
    F: Send

impl<A, F> Sync for MapErr<A, F> where
    A: Sync,
    F: Sync

impl<A, F> Unpin for MapErr<A, F> where
    A: Unpin,
    F: Unpin

impl<A, F> UnwindSafe for MapErr<A, F> where
    A: UnwindSafe,
    F: UnwindSafe

impl<A, F> RefUnwindSafe for MapErr<A, F> where
    A: RefUnwindSafe,
    F: RefUnwindSafe

Blanket Implementations

impl<F, Input, Output, Error> Parser<Input> for F where
    F: FnMut(Input, usize) -> Result<(usize, Output), (usize, Error)>, 
[src]

type Output = Output

type Error = Error

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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