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