Enum swc_ecma_visit::fields::ImportField
source · pub enum ImportField {
Span,
}
Expand description
This enum represents fields of ImportField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ImportField
impl Clone for ImportField
source§fn clone(&self) -> ImportField
fn clone(&self) -> ImportField
Returns a copy of the value. Read more
1.0.0 · 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 ImportField
impl Debug for ImportField
source§impl<'de> Deserialize<'de> for ImportField
impl<'de> Deserialize<'de> for ImportField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ImportField
impl Hash for ImportField
source§impl Ord for ImportField
impl Ord for ImportField
source§fn cmp(&self, other: &ImportField) -> Ordering
fn cmp(&self, other: &ImportField) -> Ordering
1.21.0 · 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<ImportField> for ImportField
impl PartialEq<ImportField> for ImportField
source§fn eq(&self, other: &ImportField) -> bool
fn eq(&self, other: &ImportField) -> bool
source§impl PartialOrd<ImportField> for ImportField
impl PartialOrd<ImportField> for ImportField
source§fn partial_cmp(&self, other: &ImportField) -> Option<Ordering>
fn partial_cmp(&self, other: &ImportField) -> Option<Ordering>
1.0.0 · source§fn 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 more