[][src]Struct combine::parser::token::TokensCmp

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

Trait Implementations

impl<C: Clone, T: Clone, Input: Clone> Clone for TokensCmp<C, T, Input> where
    Input: Stream
[src]

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

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, Input> RefUnwindSafe for TokensCmp<C, T, Input> where
    C: RefUnwindSafe,
    Input: RefUnwindSafe,
    T: RefUnwindSafe

impl<C, T, Input> Send for TokensCmp<C, T, Input> where
    C: Send,
    Input: Send,
    T: Send

impl<C, T, Input> Sync for TokensCmp<C, T, Input> where
    C: Sync,
    Input: Sync,
    T: Sync

impl<C, T, Input> Unpin for TokensCmp<C, T, Input> where
    C: Unpin,
    Input: Unpin,
    T: Unpin

impl<C, T, Input> UnwindSafe for TokensCmp<C, T, Input> where
    C: UnwindSafe,
    Input: 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<Input, P> EasyParser<Input> for P where
    Input: Stream,
    P: Parser<Stream<Input>> + ?Sized,
    <Input as StreamOnce>::Token: PartialEq<<Input as StreamOnce>::Token>,
    <Input as StreamOnce>::Range: PartialEq<<Input as StreamOnce>::Range>, 
[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.