pub enum Keyword {
Show 90 variants
Let,
Const,
Var,
Function,
Class,
Interface,
Type,
Enum,
Namespace,
Module,
Import,
Export,
From,
As,
Default,
If,
Else,
Switch,
Case,
DefaultCase,
For,
While,
Do,
Break,
Continue,
Return,
Throw,
Try,
Catch,
Finally,
Extends,
Implements,
Super,
This,
New,
Static,
Public,
Private,
Protected,
Abstract,
Readonly,
Async,
Await,
Promise,
Any,
Unknown,
Never,
Void,
Null,
Undefined,
Boolean,
Number,
String,
Object,
Array,
Tuple,
Union,
Intersection,
Literal,
Mapped,
Conditional,
Template,
Partial,
Required,
Pick,
Omit,
Record,
Exclude,
Extract,
NonNullable,
Parameters,
ReturnType,
InstanceType,
ThisParameterType,
OmitThisParameter,
ThisType,
True,
False,
In,
Of,
Instanceof,
Typeof,
Keyof,
Key,
Is,
Asserts,
Infer,
Declare,
Ambient,
Global,
}
Expand description
TypeScript keywords
Variants§
Let
Const
Var
Function
Class
Interface
Type
Enum
Namespace
Module
Import
Export
From
As
Default
If
Else
Switch
Case
DefaultCase
For
While
Do
Break
Continue
Return
Throw
Try
Catch
Finally
Extends
Implements
Super
This
New
Static
Public
Private
Protected
Abstract
Readonly
Async
Await
Promise
Any
Unknown
Never
Void
Null
Undefined
Boolean
Number
String
Object
Array
Tuple
Union
Intersection
Literal
Mapped
Conditional
Template
Partial
Required
Pick
Omit
Record
Exclude
Extract
NonNullable
Parameters
ReturnType
InstanceType
ThisParameterType
OmitThisParameter
ThisType
True
False
In
Of
Instanceof
Typeof
Keyof
Key
Is
Asserts
Infer
Declare
Ambient
Global
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Keyword
impl<'de> Deserialize<'de> for Keyword
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
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