[][src]Struct mini_haskell::scanner::layout::RawLexemeIterator

pub struct RawLexemeIterator<I: Read> { /* fields omitted */ }

An iterator of lexemes from an Input stream.

Implementations

impl<I: Read> RawLexemeIterator<I>[src]

pub fn new(input: I) -> Self[src]

Create a new lexeme iterator from raw input.

pub fn into_scanner(self) -> (Option<LexError>, Scanner<I>)[src]

Get back the internal scanner of this iterator.

Trait Implementations

impl<I: Read> From<RawLexemeIterator<I>> for FatLexemeIterator<I>[src]

impl<I: Read> From<Scanner<I>> for RawLexemeIterator<I>[src]

impl<I: Read> Iterator for RawLexemeIterator<I>[src]

type Item = Lexeme

The type of the elements being iterated over.

Auto Trait Implementations

impl<I> !RefUnwindSafe for RawLexemeIterator<I>

impl<I> !Send for RawLexemeIterator<I>

impl<I> !Sync for RawLexemeIterator<I>

impl<I> Unpin for RawLexemeIterator<I>

impl<I> !UnwindSafe for RawLexemeIterator<I>

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.