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

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

Main structure associated to the iterator function.

Implementations

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
[src]

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

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

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

impl<I, E, F> UnwindSafe for ParserIterator<I, E, F> where
    E: UnwindSafe,
    F: UnwindSafe,
    I: UnwindSafe
[src]

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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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.