pub enum ModuleField {
Show 14 variants
Amd,
CommonJs,
Es6,
Es2015,
Es2020,
Es2022,
EsNext,
Node12,
Node16,
NodeNext,
None,
Preserve,
System,
Umd,
}
Variants§
Amd
CommonJs
Es6
Es2015
Es2020
Es2022
EsNext
Node12
👎Deprecated
Node16
NodeNext
None
Preserve
System
Umd
Trait Implementations§
source§impl Clone for ModuleField
impl Clone for ModuleField
source§fn clone(&self) -> ModuleField
fn clone(&self) -> ModuleField
Returns a copy 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 moresource§impl Debug for ModuleField
impl Debug for ModuleField
source§impl Default for ModuleField
impl Default for ModuleField
source§fn default() -> ModuleField
fn default() -> ModuleField
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ModuleField
impl<'de> Deserialize<'de> for ModuleField
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
source§impl PartialEq for ModuleField
impl PartialEq for ModuleField
impl StructuralPartialEq for ModuleField
Auto Trait Implementations§
impl Freeze for ModuleField
impl RefUnwindSafe for ModuleField
impl Send for ModuleField
impl Sync for ModuleField
impl Unpin for ModuleField
impl UnwindSafe for ModuleField
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)