pub struct Lookahead { /* private fields */ }
Expand description
Used to look ahead one token in the lexer.
The lookahead stores up to 10 attempted tokens.
Implementations§
Auto Trait Implementations§
impl Freeze for Lookahead
impl RefUnwindSafe for Lookahead
impl Send for Lookahead
impl Sync for Lookahead
impl Unpin for Lookahead
impl UnwindSafe for Lookahead
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more