pub enum TokenKind {
Show 68 variants
Caret,
EqEq,
Eq,
AndAnd,
OrOr,
Plus,
Minus,
Slash,
Bang,
Star,
Colon,
Comma,
Semi,
RArrow,
Dot,
Le,
Ne,
GtFollowedByGt,
Gt,
LtFollowedByLt,
Lt,
Ge,
At,
Pound,
Underscore,
Fn,
Async,
Iff,
FatArrow,
Let,
Mut,
Where,
Forall,
Exists,
In,
Impl,
Requires,
Ensures,
Literal(Lit),
Ident(Symbol),
OpenParen,
CloseParen,
OpenBrace,
CloseBrace,
OpenBracket,
CloseBracket,
OpenInvisible(InvisibleOrigin),
CloseInvisible(InvisibleOrigin),
Invalid,
Ref,
And,
Percent,
Strg,
Type,
If,
Else,
PathSep,
Qualifier,
Property,
Sort,
Opaque,
Local,
BitVec,
As,
Hrn,
Hdl,
DotDot,
Eof,
}
Variants§
Caret
EqEq
Eq
AndAnd
OrOr
Plus
Minus
Slash
Bang
Star
Colon
Comma
Semi
RArrow
Dot
Le
Ne
GtFollowedByGt
Gt
LtFollowedByLt
Lt
Ge
At
Pound
Underscore
Fn
Async
Iff
FatArrow
Let
Mut
Where
Forall
Exists
In
Impl
Requires
Ensures
Literal(Lit)
Ident(Symbol)
OpenParen
CloseParen
OpenBrace
CloseBrace
OpenBracket
CloseBracket
OpenInvisible(InvisibleOrigin)
CloseInvisible(InvisibleOrigin)
Invalid
Ref
And
Percent
Strg
Type
If
Else
PathSep
Qualifier
Property
Sort
Opaque
Local
BitVec
As
Hrn
Hdl
DotDot
Eof
Implementations§
Trait Implementations§
impl Copy 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 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