Enum swc_bundler::ModuleType
source · pub enum ModuleType {
Es,
Iife,
}
Variants§
Trait Implementations§
source§impl Debug for ModuleType
impl Debug for ModuleType
source§impl Default for ModuleType
impl Default for ModuleType
source§fn default() -> ModuleType
fn default() -> ModuleType
Returns the “default value” for a type. Read more
source§impl Hash for ModuleType
impl Hash for ModuleType
source§impl PartialEq for ModuleType
impl PartialEq for ModuleType
source§fn eq(&self, other: &ModuleType) -> bool
fn eq(&self, other: &ModuleType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ModuleType
impl StructuralPartialEq for ModuleType
Auto Trait Implementations§
impl Freeze for ModuleType
impl RefUnwindSafe for ModuleType
impl Send for ModuleType
impl Sync for ModuleType
impl Unpin for ModuleType
impl UnwindSafe for ModuleType
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<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
Compare self to
key
and return true
if they are equal.