pub trait LogosIter<'source, T>: Iterator<Item = T> where
    T: Logos<'source>, 
{ fn span(&self) -> Span; fn slice(&self) -> &'source <T::Source as Source>::Slice; fn source(&self) -> &'source T::Source; fn remainder(&self) -> &'source <T::Source as Source>::Slice; fn bump(&mut self, n: usize); fn extras(&self) -> &T::Extras; fn extras_mut(&mut self) -> &mut T::Extras; fn peekable_lexer(self) -> PeekableLexer<'source, Self, T>Notable traits for PeekableLexer<'source, L, T>impl<'source, L, T> Iterator for PeekableLexer<'source, L, T> where
    L: LogosIter<'source, T>,
    T: Logos<'source>, 
type Item = T;

    where
        Self: Sized
, { ... } }

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors