Struct turtle_syntax::lexing::Lexer
source · [−]pub struct Lexer<F, E, C: Iterator<Item = Result<DecodedChar, E>>> { /* private fields */ }
Expand description
Lexer.
Changes a character iterator into a Token
iterator.
Implementations
sourceimpl<F, E, C: Iterator<Item = Result<DecodedChar, E>>> Lexer<F, E, C>
impl<F, E, C: Iterator<Item = Result<DecodedChar, E>>> Lexer<F, E, C>
Trait Implementations
Auto Trait Implementations
impl<F, E, C> RefUnwindSafe for Lexer<F, E, C> where
C: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, E, C> Send for Lexer<F, E, C> where
C: Send,
E: Send,
F: Send,
impl<F, E, C> Sync for Lexer<F, E, C> where
C: Sync,
E: Sync,
F: Sync,
impl<F, E, C> Unpin for Lexer<F, E, C> where
C: Unpin,
E: Unpin,
F: Unpin,
impl<F, E, C> UnwindSafe for Lexer<F, E, C> where
C: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more