[][src]Struct munch::Pack

pub struct Pack<F, A>(pub F, pub A);

Trait Implementations

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

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

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

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

type Output = Output

type Error = Error

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

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

Auto Trait Implementations

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

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

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

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

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