pub enum JsImportKind {
Default,
Named,
Namespace,
SideEffect,
TypeOnly,
}Expand description
JavaScript import metadata kind.
Variants§
Trait Implementations§
Source§impl Clone for JsImportKind
impl Clone for JsImportKind
Source§fn clone(&self) -> JsImportKind
fn clone(&self) -> JsImportKind
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 JsImportKind
impl Debug for JsImportKind
Source§impl Hash for JsImportKind
impl Hash for JsImportKind
Source§impl Ord for JsImportKind
impl Ord for JsImportKind
Source§fn cmp(&self, other: &JsImportKind) -> Ordering
fn cmp(&self, other: &JsImportKind) -> 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 JsImportKind
impl PartialEq for JsImportKind
Source§fn eq(&self, other: &JsImportKind) -> bool
fn eq(&self, other: &JsImportKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for JsImportKind
impl PartialOrd for JsImportKind
impl Copy for JsImportKind
impl Eq for JsImportKind
impl StructuralPartialEq for JsImportKind
Auto Trait Implementations§
impl Freeze for JsImportKind
impl RefUnwindSafe for JsImportKind
impl Send for JsImportKind
impl Sync for JsImportKind
impl Unpin for JsImportKind
impl UnsafeUnpin for JsImportKind
impl UnwindSafe for JsImportKind
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