pub enum Token {
Show 60 variants
Caret,
EqEq,
Eq,
AndAnd,
OrOr,
Plus,
Minus,
Slash,
Not,
Star,
Colon,
Comma,
Semi,
RArrow,
Dot,
Lt,
Le,
Ne,
Gt,
GtFollowedByGt,
Ge,
At,
Pound,
Underscore,
Fn,
Async,
Iff,
FatArrow,
Mut,
Where,
Forall,
Impl,
Requires,
Ensures,
Literal(Lit),
Ident(Symbol),
OpenDelim(Delimiter),
CloseDelim(Delimiter),
Invalid,
Ref,
And,
Percent,
Strg,
Type,
Ignore,
Trusted,
TrustedImpl,
Check,
If,
Else,
PathSep,
Qualifier,
Sort,
Opaque,
Local,
BitVec,
As,
Hrn,
Hdl,
DotDot,
}
Variants§
Caret
EqEq
Eq
AndAnd
OrOr
Plus
Minus
Slash
Not
Star
Colon
Comma
Semi
RArrow
Dot
Lt
Le
Ne
Gt
GtFollowedByGt
Ge
At
Pound
Underscore
Fn
Async
Iff
FatArrow
Mut
Where
Forall
Impl
Requires
Ensures
Literal(Lit)
Ident(Symbol)
OpenDelim(Delimiter)
CloseDelim(Delimiter)
Invalid
Ref
And
Percent
Strg
Type
Ignore
Trusted
TrustedImpl
Check
If
Else
PathSep
Qualifier
Sort
Opaque
Local
BitVec
As
Hrn
Hdl
DotDot
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)