Enum swc_ecma_visit::fields::NamedExportField
source · [−]pub enum NamedExportField {
Span,
Specifiers(usize),
Src,
TypeOnly,
Asserts,
}
Expand description
This enum represents fields of NamedExportField
Variants
Span
This represents span
Specifiers(usize)
This represents specifiers
Src
This represents src
TypeOnly
This represents type_only
Asserts
This represents asserts
Implementations
Trait Implementations
sourceimpl Clone for NamedExportField
impl Clone for NamedExportField
sourcefn clone(&self) -> NamedExportField
fn clone(&self) -> NamedExportField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NamedExportField
impl Debug for NamedExportField
sourceimpl Hash for NamedExportField
impl Hash for NamedExportField
sourceimpl Ord for NamedExportField
impl Ord for NamedExportField
sourcefn cmp(&self, other: &NamedExportField) -> Ordering
fn cmp(&self, other: &NamedExportField) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NamedExportField> for NamedExportField
impl PartialEq<NamedExportField> for NamedExportField
sourcefn eq(&self, other: &NamedExportField) -> bool
fn eq(&self, other: &NamedExportField) -> bool
sourceimpl PartialOrd<NamedExportField> for NamedExportField
impl PartialOrd<NamedExportField> for NamedExportField
sourcefn partial_cmp(&self, other: &NamedExportField) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedExportField) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NamedExportField
impl Eq for NamedExportField
impl StructuralEq for NamedExportField
impl StructuralPartialEq for NamedExportField
Auto Trait Implementations
impl RefUnwindSafe for NamedExportField
impl Send for NamedExportField
impl Sync for NamedExportField
impl Unpin for NamedExportField
impl UnwindSafe for NamedExportField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more