[][src]Struct munch::Collect

pub struct Collect<A, R: Range, C>(_, _, _);

Trait Implementations

impl<A, R, C, Input> Parser<Input> for Collect<A, R, C> where
    A: Parser<Input>,
    R: Range,
    C: Default + Extend<A::Output>,
    Input: Copy
[src]

type Output = C

type Error = A::Error

impl<A: Clone, R: Clone + Range, C: Clone> Clone for Collect<A, R, C>[src]

impl<A: Copy, R: Copy + Range, C: Copy> Copy for Collect<A, R, C>[src]

impl<A: PartialEq, R: PartialEq + Range, C: PartialEq> PartialEq<Collect<A, R, C>> for Collect<A, R, C>[src]

impl<A: Debug, R: Debug + Range, C: Debug> Debug for Collect<A, R, C>[src]

impl<A, R: Range, C> StructuralPartialEq for Collect<A, R, C>[src]

Auto Trait Implementations

impl<A, R, C> Send for Collect<A, R, C> where
    A: Send,
    C: Send,
    R: Send

impl<A, R, C> Sync for Collect<A, R, C> where
    A: Sync,
    C: Sync,
    R: Sync

impl<A, R, C> Unpin for Collect<A, R, C> where
    A: Unpin,
    C: Unpin,
    R: Unpin

impl<A, R, C> UnwindSafe for Collect<A, R, C> where
    A: UnwindSafe,
    C: UnwindSafe,
    R: UnwindSafe

impl<A, R, C> RefUnwindSafe for Collect<A, R, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe,
    R: 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]