pub struct Tracker<'a, 'b> { /* private fields */ }Implementations§
Source§impl<'a, 'b> Tracker<'a, 'b>
impl<'a, 'b> Tracker<'a, 'b>
pub fn new( expect: &'b mut ExpectTree<Token<'static>>, tokenvec: &'b mut TokenVec<'a>, ) -> Self
pub fn possible_token(&mut self, token: Token<'static>)
pub fn try_token(&mut self, token: &Token<'static>) -> Result<bool>
pub fn has_remaining(&self) -> bool
pub fn top(&self) -> &Token<'a>
pub fn top_kind(&self) -> &TokenKind
pub fn step(&mut self)
Auto Trait Implementations§
impl<'a, 'b> !UnwindSafe for Tracker<'a, 'b>
impl<'a, 'b> Freeze for Tracker<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Tracker<'a, 'b>
impl<'a, 'b> Send for Tracker<'a, 'b>
impl<'a, 'b> Sync for Tracker<'a, 'b>
impl<'a, 'b> Unpin for Tracker<'a, 'b>
impl<'a, 'b> UnsafeUnpin for Tracker<'a, 'b>
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