[][src]Struct munch::Guard

pub struct Guard<F, E>(pub F, pub E);

Trait Implementations

impl<F: Clone, E: Clone> Clone for Guard<F, E>[src]

impl<F: Copy, E: Copy> Copy for Guard<F, E>[src]

impl<F: Debug, E: Debug> Debug for Guard<F, E>[src]

impl<F, E, Input, Error> Parser<Input> for Guard<F, E> where
    F: FnMut() -> bool,
    E: FnMut() -> Error, 
[src]

type Output = ()

type Error = Error

impl<F: PartialEq, E: PartialEq> PartialEq<Guard<F, E>> for Guard<F, E>[src]

impl<F, E> StructuralPartialEq for Guard<F, E>[src]

Auto Trait Implementations

impl<F, E> RefUnwindSafe for Guard<F, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe

impl<F, E> Send for Guard<F, E> where
    E: Send,
    F: Send

impl<F, E> Sync for Guard<F, E> where
    E: Sync,
    F: Sync

impl<F, E> Unpin for Guard<F, E> where
    E: Unpin,
    F: Unpin

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