pub enum Keyword {
Show 32 variants
Break,
Case,
Catch,
Class,
Continue,
Debugger,
Default,
Delete,
Do,
Else,
Enum,
Extends,
Finally,
For,
Function,
If,
In,
InstanceOf,
Import,
Let,
New,
Return,
Super,
Switch,
This,
Throw,
Try,
TypeOf,
Var,
Void,
While,
With,
}
Expand description
A Javascript Keyword As specificed by https://www.ecma-international.org/ecma-262/#sec-keywords
Variants
Break
The break
keyword
Case
The case
keyword
Catch
The catch
keyword
Class
The class
keyword, which is reserved for future use
Continue
The continue
keyword
Debugger
The debugger
keyword
Default
The default
keyword
Delete
The delete
keyword
Do
The do
keyword
Else
The else
keyword
Enum
The enum
keyword
Extends
The extends
keyword
Finally
The finally
keyword
For
The for
keyword
Function
The function
keyword
If
The if
keyword
In
The in
keyword
InstanceOf
The instanceof
keyword
Import
The import
keyword
Let
The let
keyword
New
The new
keyword
Return
The return
keyword
Super
The super
keyword
Switch
The switch
keyword
This
The this
keyword
Throw
The throw
keyword
Try
The try
keyword
TypeOf
The typeof
keyword
Var
The var
keyword
Void
The void
keyword
While
The while
keyword
With
The with
keyword
Trait Implementations
impl StructuralPartialEq for Keyword
Auto Trait Implementations
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more