pub enum Feature {
Show 50 variants
TemplateLiterals,
Literals,
FunctionName,
ArrowFunctions,
BlockScopedFunctions,
Classes,
ObjectSuper,
ShorthandProperties,
DuplicateKeys,
ComputedProperties,
ForOf,
StickyRegex,
DotAllRegex,
UnicodeRegex,
Spread,
Parameters,
Destructuring,
BlockScoping,
TypeOfSymbol,
NewTarget,
Regenerator,
ExponentiationOperator,
AsyncToGenerator,
AsyncGeneratorFunctions,
ObjectRestSpread,
UnicodePropertyRegex,
JsonStrings,
OptionalCatchBinding,
NamedCapturingGroupsRegex,
MemberExpressionLiterals,
PropertyLiterals,
ReservedWords,
ExportNamespaceFrom,
NullishCoalescing,
LogicalAssignmentOperators,
OptionalChaining,
ClassProperties,
NumericSeparator,
PrivateMethods,
ClassStaticBlock,
PrivatePropertyInObject,
UnicodeEscapes,
BugfixAsyncArrowsInClass,
BugfixEdgeDefaultParam,
BugfixTaggedTemplateCaching,
BugfixSafariIdDestructuringCollisionInFunctionExpression,
BugfixTransformEdgeFunctionName,
BugfixTransformSafariBlockShadowing,
BugfixTransformSafariForShadowing,
BugfixTransformV8SpreadParametersInOptionalChaining,
}
Variants§
TemplateLiterals
transform-template-literals
Literals
transform-literals
FunctionName
transform-function-name
ArrowFunctions
transform-arrow-functions
BlockScopedFunctions
transform-block-scoped-functions
Classes
transform-classes
ObjectSuper
transform-object-super
ShorthandProperties
transform-shorthand-properties
DuplicateKeys
transform-duplicate-keys
ComputedProperties
transform-computed-properties
ForOf
transform-for-of
StickyRegex
transform-sticky-regex
DotAllRegex
transform-dotall-regex
UnicodeRegex
transform-unicode-regex
Spread
transform-spread
Parameters
transform-parameters
Destructuring
transform-destructuring
BlockScoping
transform-block-scoping
TypeOfSymbol
transform-typeof-symbol
NewTarget
transform-new-target
Regenerator
transform-regenerator
ExponentiationOperator
transform-exponentiation-operator
AsyncToGenerator
transform-async-to-generator
AsyncGeneratorFunctions
transform-async-generator-functions
ObjectRestSpread
transform-object-rest-spread
UnicodePropertyRegex
transform-unicode-property-regex
JsonStrings
transform-json-strings
OptionalCatchBinding
transform-optional-catch-binding
NamedCapturingGroupsRegex
transform-named-capturing-groups-regex
MemberExpressionLiterals
transform-member-expression-literals
PropertyLiterals
transform-property-literals
ReservedWords
transform-reserved-words
ExportNamespaceFrom
transform-export-namespace-from
NullishCoalescing
transform-nullish-coalescing-operator
LogicalAssignmentOperators
transform-logical-assignment-operators
OptionalChaining
transform-optional-chaining
ClassProperties
transform-class-properties
NumericSeparator
transform-numeric-separator
PrivateMethods
transform-private-methods
ClassStaticBlock
transform-class-static-block
PrivatePropertyInObject
transform-private-property-in-object
UnicodeEscapes
transform-unicode-escapes
BugfixAsyncArrowsInClass
bugfix/transform-async-arrows-in-class
BugfixEdgeDefaultParam
bugfix/transform-edge-default-parameters
BugfixTaggedTemplateCaching
bugfix/transform-tagged-template-caching
BugfixSafariIdDestructuringCollisionInFunctionExpression
bugfix/transform-safari-id-destructuring-collision-in-function-expression
BugfixTransformEdgeFunctionName
bugfix/transform-edge-function-name
BugfixTransformSafariBlockShadowing
bugfix/transform-safari-block-shadowing
BugfixTransformSafariForShadowing
bugfix/transform-safari-for-shadowing
BugfixTransformV8SpreadParametersInOptionalChaining
bugfix/transform-v8-spread-parameters-in-optional-chaining
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
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>,
source§impl From<Feature> for FeatureOrModule
impl From<Feature> for FeatureOrModule
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more