pub enum TokenKind {
Show 24 variants
Error,
Eof,
Ident,
TrueLit,
FalseLit,
Int,
BigInt,
Rat,
BigRat,
Float,
Complex,
Char,
String,
LParent,
RParent,
HashLParen,
HashGLParen,
U8LParen,
Quote,
BackQuote,
Comma,
CommaAt,
Dot,
HashSemi,
}Variants§
Error
Eof
Ident
TrueLit
FalseLit
Int
BigInt
Rat
BigRat
Float
Complex
Char
String
LParent
RParent
HashLParen
HashGLParen
U8LParen
Quote
BackQuote
Comma
CommaAt
Dot
HashSemi
Trait Implementations§
impl Copy for TokenKind
impl Eq for TokenKind
Source§impl Ord for TokenKind
impl Ord for TokenKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TokenKind
impl PartialOrd for TokenKind
impl StructuralPartialEq for TokenKind
Auto Trait Implementations§
impl Freeze for TokenKind
impl RefUnwindSafe for TokenKind
impl Send for TokenKind
impl Sync for TokenKind
impl Unpin for TokenKind
impl UnsafeUnpin for TokenKind
impl UnwindSafe for TokenKind
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