pub enum JsKeyword {
Show 35 variants
Await,
Break,
Case,
Catch,
Class,
Const,
Continue,
Debugger,
Default,
Delete,
Do,
Else,
Export,
Extends,
Finally,
For,
Function,
If,
Import,
In,
Instanceof,
Let,
New,
Return,
Super,
Switch,
This,
Throw,
Try,
Typeof,
Var,
Void,
While,
With,
Yield,
}Expand description
Common JavaScript keywords.
Variants§
Await
Break
Case
Catch
Class
Const
Continue
Debugger
Default
Delete
Do
Else
Export
Extends
Finally
For
Function
If
Import
In
Instanceof
Let
New
Return
Super
Switch
This
Throw
Try
Typeof
Var
Void
While
With
Yield
Implementations§
Trait Implementations§
Source§impl Ord for JsKeyword
impl Ord for JsKeyword
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 JsKeyword
impl PartialOrd for JsKeyword
impl Copy for JsKeyword
impl Eq for JsKeyword
impl StructuralPartialEq for JsKeyword
Auto Trait Implementations§
impl Freeze for JsKeyword
impl RefUnwindSafe for JsKeyword
impl Send for JsKeyword
impl Sync for JsKeyword
impl Unpin for JsKeyword
impl UnsafeUnpin for JsKeyword
impl UnwindSafe for JsKeyword
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