mylang_lexer::with_pos

Trait WithPosExt

source
pub trait WithPosExt: Iterator<Item = char> + Sized {
    // Required method
    fn with_pos(self) -> WithPos<Self> ;
}

Required Methods§

source

fn with_pos(self) -> WithPos<Self>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I> WithPosExt for I
where I: Iterator<Item = char> + Sized,