Enum stc_ts_env::ModuleConfig
source · [−]pub enum ModuleConfig {
CommonJs,
Es6,
Es2015,
Es2020,
Es2022,
None,
Umd,
Amd,
System,
EsNext,
}
Variants
CommonJs
commonjs
Es6
es6
Es2015
es2015
Es2020
es2020
Es2022
es2022
None
none
Umd
umd
Amd
amd
System
system
EsNext
esnext
Implementations
sourceimpl ModuleConfig
impl ModuleConfig
Trait Implementations
sourceimpl Clone for ModuleConfig
impl Clone for ModuleConfig
sourcefn clone(&self) -> ModuleConfig
fn clone(&self) -> ModuleConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ModuleConfig
impl Debug for ModuleConfig
sourceimpl<'de> Deserialize<'de> for ModuleConfig
impl<'de> Deserialize<'de> for ModuleConfig
sourcefn 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
sourceimpl Display for ModuleConfig
impl Display for ModuleConfig
sourceimpl FromStr for ModuleConfig
impl FromStr for ModuleConfig
sourceimpl Serialize for ModuleConfig
impl Serialize for ModuleConfig
impl Copy for ModuleConfig
Auto Trait Implementations
impl RefUnwindSafe for ModuleConfig
impl Send for ModuleConfig
impl Sync for ModuleConfig
impl Unpin for ModuleConfig
impl UnwindSafe for ModuleConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more