pub struct Token<K> { /* private fields */ }
Expand description
A token with a kind (usually an enum representing distinct token types) and its source text
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for Token<K>where
K: Freeze,
impl<K> RefUnwindSafe for Token<K>where
K: RefUnwindSafe,
impl<K> Send for Token<K>where
K: Send,
impl<K> Sync for Token<K>where
K: Sync,
impl<K> Unpin for Token<K>where
K: Unpin,
impl<K> UnwindSafe for Token<K>where
K: UnwindSafe,
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