[][src]Struct nom::combinator::ParserIterator

pub struct ParserIterator<I, E, F> { /* fields omitted */ }

main structure associated to the iterator function

Methods

impl<I: Clone, E, F> ParserIterator<I, E, F>[src]

pub fn finish(self) -> IResult<I, (), E>[src]

returns the remaining input if parsing was successful, or the error if we encountered an error

Trait Implementations

impl<'a, Input, Output, Error, F> Iterator for &'a mut ParserIterator<Input, Error, F> where
    F: FnMut(Input) -> IResult<Input, Output, Error>,
    Input: Clone
[src]

type Item = Output

The type of the elements being iterated over.

Auto Trait Implementations

impl<I, E, F> RefUnwindSafe for ParserIterator<I, E, F> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, E, F> Send for ParserIterator<I, E, F> where
    E: Send,
    F: Send,
    I: Send

impl<I, E, F> Sync for ParserIterator<I, E, F> where
    E: Sync,
    F: Sync,
    I: Sync

impl<I, E, F> Unpin for ParserIterator<I, E, F> where
    E: Unpin,
    F: Unpin,
    I: Unpin

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