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

pub struct Iterate<F, I, P> { /* fields omitted */ }

Trait Implementations

impl<'s, 'a, P, Q, I, J, F> Parser<I> for Iterate<F, J, P> where
    P: FnMut(&J::Item, &mut I) -> Q,
    Q: Parser<I>,
    I: Stream,
    J: IntoIterator + Clone,
    F: Extend<Q::Output> + Default
[src]

type Output = F

The type which is returned if the parser is successful.

type PartialState = (Option<Peekable<J::IntoIter>>, bool, F, Q::PartialState)

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

Auto Trait Implementations

impl<F, I, P> RefUnwindSafe for Iterate<F, I, P> where
    I: RefUnwindSafe,
    P: RefUnwindSafe

impl<F, I, P> Send for Iterate<F, I, P> where
    I: Send,
    P: Send

impl<F, I, P> Sync for Iterate<F, I, P> where
    I: Sync,
    P: Sync

impl<F, I, P> Unpin for Iterate<F, I, P> where
    I: Unpin,
    P: Unpin

impl<F, I, P> UnwindSafe for Iterate<F, I, P> where
    I: 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, 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.