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

pub struct Satisfy<Input, P> { /* fields omitted */ }

Trait Implementations

impl<Input: Clone, P: Clone> Clone for Satisfy<Input, P>[src]

impl<Input: Copy, P: Copy> Copy for Satisfy<Input, P>[src]

impl<Input, P> Parser<Input> for Satisfy<Input, P> where
    Input: Stream,
    P: FnMut(Input::Token) -> bool
[src]

type Output = Input::Token

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<Input, P> RefUnwindSafe for Satisfy<Input, P> where
    Input: RefUnwindSafe,
    P: RefUnwindSafe

impl<Input, P> Send for Satisfy<Input, P> where
    Input: Send,
    P: Send

impl<Input, P> Sync for Satisfy<Input, P> where
    Input: Sync,
    P: Sync

impl<Input, P> Unpin for Satisfy<Input, P> where
    Input: Unpin,
    P: Unpin

impl<Input, P> UnwindSafe for Satisfy<Input, P> where
    Input: UnwindSafe,
    P: 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.