Struct combine::parser::item::Tokens2[][src]

pub struct Tokens2<C, T, I> where
    I: Stream
{ /* fields omitted */ }

Trait Implementations

impl<C: Clone, T: Clone, I: Clone> Clone for Tokens2<C, T, I> where
    I: Stream
[src]

impl<C, T, I> Parser for Tokens2<C, T, I> where
    C: FnMut(T::Item, I::Item) -> bool,
    T: Clone + IntoIterator,
    I: Stream
[src]

type Input = I

The type which is taken as input for the parser. The type must implement the Stream trait which allows the parser to read items from the type. Read more

type Output = T

The type which is returned if the parser is successful.

type PartialState = ()

Determines the state necessary to resume parsing after more input is supplied. Read more

Auto Trait Implementations

impl<C, T, I> RefUnwindSafe for Tokens2<C, T, I> where
    C: RefUnwindSafe,
    I: RefUnwindSafe,
    T: RefUnwindSafe

impl<C, T, I> Send for Tokens2<C, T, I> where
    C: Send,
    I: Send,
    T: Send

impl<C, T, I> Sync for Tokens2<C, T, I> where
    C: Sync,
    I: Sync,
    T: Sync

impl<C, T, I> Unpin for Tokens2<C, T, I> where
    C: Unpin,
    I: Unpin,
    T: Unpin

impl<C, T, I> UnwindSafe for Tokens2<C, T, I> where
    C: UnwindSafe,
    I: 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> 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.