pub struct Lexeme<'l> {
pub token: Token,
pub span: Range<usize>,
pub slice: &'l str,
}Expand description
C lexeme
Fields§
§token: TokenToken kind
span: Range<usize>§slice: &'l strString slice
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'l> Freeze for Lexeme<'l>
impl<'l> RefUnwindSafe for Lexeme<'l>
impl<'l> Send for Lexeme<'l>
impl<'l> Sync for Lexeme<'l>
impl<'l> Unpin for Lexeme<'l>
impl<'l> UnwindSafe for Lexeme<'l>
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