[][src]Struct combine::parser::repeat::Chainl1

pub struct Chainl1<P, Op>(_, _);

Trait Implementations

impl<P: Clone, Op: Clone> Clone for Chainl1<P, Op>[src]

impl<P: Copy, Op: Copy> Copy for Chainl1<P, Op>[src]

impl<Input, P, Op> Parser<Input> for Chainl1<P, Op> where
    Input: Stream,
    P: Parser<Input>,
    Op: Parser<Input>,
    Op::Output: FnOnce(P::Output, P::Output) -> P::Output
[src]

type Output = P::Output

The type which is returned if the parser is successful.

type PartialState = (Option<(P::Output, Commit<()>)>, <(Op, P) as Parser<Input>>::PartialState)

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

Auto Trait Implementations

impl<P, Op> RefUnwindSafe for Chainl1<P, Op> where
    Op: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, Op> Send for Chainl1<P, Op> where
    Op: Send,
    P: Send

impl<P, Op> Sync for Chainl1<P, Op> where
    Op: Sync,
    P: Sync

impl<P, Op> Unpin for Chainl1<P, Op> where
    Op: Unpin,
    P: Unpin

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