pub enum JsModuleKind {
Esm,
CommonJs,
Umd,
Amd,
System,
Iife,
}Expand description
JavaScript module-system kind.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for JsModuleKind
impl Clone for JsModuleKind
Source§fn clone(&self) -> JsModuleKind
fn clone(&self) -> JsModuleKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JsModuleKind
impl Debug for JsModuleKind
Source§impl Display for JsModuleKind
impl Display for JsModuleKind
Source§impl FromStr for JsModuleKind
impl FromStr for JsModuleKind
Source§impl Hash for JsModuleKind
impl Hash for JsModuleKind
Source§impl Ord for JsModuleKind
impl Ord for JsModuleKind
Source§fn cmp(&self, other: &JsModuleKind) -> Ordering
fn cmp(&self, other: &JsModuleKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JsModuleKind
impl PartialEq for JsModuleKind
Source§fn eq(&self, other: &JsModuleKind) -> bool
fn eq(&self, other: &JsModuleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for JsModuleKind
impl PartialOrd for JsModuleKind
impl Copy for JsModuleKind
impl Eq for JsModuleKind
impl StructuralPartialEq for JsModuleKind
Auto Trait Implementations§
impl Freeze for JsModuleKind
impl RefUnwindSafe for JsModuleKind
impl Send for JsModuleKind
impl Sync for JsModuleKind
impl Unpin for JsModuleKind
impl UnsafeUnpin for JsModuleKind
impl UnwindSafe for JsModuleKind
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