Enum ruast::KeywordToken
source · pub enum KeywordToken {
Show 40 variants
As,
Async,
Await,
Box,
Break,
Const,
Continue,
Crate,
Dyn,
Else,
Enum,
Extern,
False,
Fn,
For,
If,
Impl,
In,
Let,
Loop,
Match,
Mod,
Move,
Mut,
Pub,
Ref,
Return,
Self_,
Static,
Struct,
Super,
Trait,
True,
Try,
Type,
Unsafe,
Use,
Where,
While,
Yield,
}Variants§
As
Async
Await
Box
Break
Const
Continue
Crate
Dyn
Else
Enum
Extern
False
Fn
For
If
Impl
In
Let
Loop
Match
Mod
Move
Mut
Pub
Ref
Return
Self_
Static
Struct
Super
Trait
True
Try
Type
Unsafe
Use
Where
While
Yield
Trait Implementations§
source§impl Clone for KeywordToken
impl Clone for KeywordToken
source§fn clone(&self) -> KeywordToken
fn clone(&self) -> KeywordToken
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for KeywordToken
impl Debug for KeywordToken
source§impl Display for KeywordToken
impl Display for KeywordToken
source§impl Hash for KeywordToken
impl Hash for KeywordToken
source§impl PartialEq for KeywordToken
impl PartialEq for KeywordToken
source§fn eq(&self, other: &KeywordToken) -> bool
fn eq(&self, other: &KeywordToken) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for KeywordToken
impl Eq for KeywordToken
impl StructuralEq for KeywordToken
impl StructuralPartialEq for KeywordToken
Auto Trait Implementations§
impl RefUnwindSafe for KeywordToken
impl Send for KeywordToken
impl Sync for KeywordToken
impl Unpin for KeywordToken
impl UnwindSafe for KeywordToken
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