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

pub struct Iter<'a, Input, P, S, M> where
    Input: Stream + 'a,
    P: Parser<Input>, 
{ /* fields omitted */ }

Implementations

impl<'a, Input, P, S, M> Iter<'a, Input, P, S, M> where
    Input: Stream,
    P: Parser<Input>,
    S: BorrowMut<P::PartialState>, 
[src]

pub fn new(parser: P, mode: M, input: &'a mut Input, partial_state: S) -> Self[src]

pub fn into_result<O>(self, value: O) -> StdParseResult<O, Input>[src]

Converts the iterator to a ParseResult, returning Ok if the parsing so far has be done without any errors which committed data.

Trait Implementations

impl<'a, Input, P, S, M> Iterator for Iter<'a, Input, P, S, M> where
    Input: Stream,
    P: Parser<Input>,
    S: BorrowMut<P::PartialState>,
    M: ParseMode, 
[src]

type Item = P::Output

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, Input, P, S, M> RefUnwindSafe for Iter<'a, Input, P, S, M> where
    Input: RefUnwindSafe,
    M: RefUnwindSafe,
    P: RefUnwindSafe,
    S: RefUnwindSafe,
    <Input as StreamOnce>::Error: RefUnwindSafe

impl<'a, Input, P, S, M> Send for Iter<'a, Input, P, S, M> where
    Input: Send,
    M: Send,
    P: Send,
    S: Send,
    <Input as StreamOnce>::Error: Send

impl<'a, Input, P, S, M> Sync for Iter<'a, Input, P, S, M> where
    Input: Sync,
    M: Sync,
    P: Sync,
    S: Sync,
    <Input as StreamOnce>::Error: Sync

impl<'a, Input, P, S, M> Unpin for Iter<'a, Input, P, S, M> where
    M: Unpin,
    P: Unpin,
    S: Unpin,
    <Input as StreamOnce>::Error: Unpin

impl<'a, Input, P, S, M> !UnwindSafe for Iter<'a, Input, P, S, M>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.