pub struct EsConfig {
pub jsx: bool,
pub num_sep: bool,
pub class_private_props: bool,
pub class_private_methods: bool,
pub class_props: bool,
pub fn_bind: bool,
pub decorators: bool,
pub decorators_before_export: bool,
}
Support numeric separator.
Support function bind expression.
babel: decorators.decoratorsBeforeExport
Effective only if decorator
is true.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more