Struct perplex_runtime::IterInput[][src]

pub struct IterInput<I: Iterator> { /* fields omitted */ }

A wrapper for using iterators as parser input.

Methods

impl<I: Iterator> IterInput<I>
[src]

Create a new iterator input.

Trait Implementations

impl<I: Iterator> ParserInput for IterInput<I>
[src]

The token type produced by the stream.

Peek at the next item in the stream.

Consume the next item in the stream.

Returns the end-of-stream marker. Read more

Auto Trait Implementations

impl<I> Send for IterInput<I> where
    I: Send,
    <I as Iterator>::Item: Send

impl<I> Sync for IterInput<I> where
    I: Sync,
    <I as Iterator>::Item: Sync