pub enum ModernFeatureType {
Show 19 variants
AsyncAwait,
Destructuring,
SpreadOperator,
ArrowFunction,
TemplateString,
DynamicImport,
OptionalChaining,
NullishCoalescing,
ClassFields,
Decorator,
TypeScriptInterface,
TypeScriptEnum,
TypeScriptGenerics,
UnionTypes,
IntersectionTypes,
ConditionalTypes,
MappedTypes,
TemplateLiteralTypes,
TupleTypes,
}
Expand description
Modern JavaScript feature types
Variants§
AsyncAwait
Destructuring
SpreadOperator
ArrowFunction
TemplateString
DynamicImport
OptionalChaining
NullishCoalescing
ClassFields
Decorator
TypeScriptInterface
TypeScriptEnum
TypeScriptGenerics
UnionTypes
IntersectionTypes
ConditionalTypes
MappedTypes
TemplateLiteralTypes
TupleTypes
Trait Implementations§
Source§impl Clone for ModernFeatureType
impl Clone for ModernFeatureType
Source§fn clone(&self) -> ModernFeatureType
fn clone(&self) -> ModernFeatureType
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ModernFeatureType
impl RefUnwindSafe for ModernFeatureType
impl Send for ModernFeatureType
impl Sync for ModernFeatureType
impl Unpin for ModernFeatureType
impl UnwindSafe for ModernFeatureType
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