Enum swc_ecma_visit::fields::TsImportTypeField
source · pub enum TsImportTypeField {
Span,
Arg,
Qualifier,
TypeArgs,
}
Expand description
This enum represents fields of TsImportTypeField
Variants§
Span
This represents span
Arg
This represents arg
Qualifier
This represents qualifier
TypeArgs
This represents type_args
Implementations§
Trait Implementations§
source§impl Clone for TsImportTypeField
impl Clone for TsImportTypeField
source§fn clone(&self) -> TsImportTypeField
fn clone(&self) -> TsImportTypeField
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 TsImportTypeField
impl Debug for TsImportTypeField
source§impl<'de> Deserialize<'de> for TsImportTypeField
impl<'de> Deserialize<'de> for TsImportTypeField
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 TsImportTypeField
impl Hash for TsImportTypeField
source§impl Ord for TsImportTypeField
impl Ord for TsImportTypeField
source§fn cmp(&self, other: &TsImportTypeField) -> Ordering
fn cmp(&self, other: &TsImportTypeField) -> 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 for TsImportTypeField
impl PartialEq for TsImportTypeField
source§fn eq(&self, other: &TsImportTypeField) -> bool
fn eq(&self, other: &TsImportTypeField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TsImportTypeField
impl PartialOrd for TsImportTypeField
source§fn partial_cmp(&self, other: &TsImportTypeField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsImportTypeField) -> 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 moresource§impl Serialize for TsImportTypeField
impl Serialize for TsImportTypeField
impl Copy for TsImportTypeField
impl Eq for TsImportTypeField
impl StructuralPartialEq for TsImportTypeField
Auto Trait Implementations§
impl Freeze for TsImportTypeField
impl RefUnwindSafe for TsImportTypeField
impl Send for TsImportTypeField
impl Sync for TsImportTypeField
impl Unpin for TsImportTypeField
impl UnwindSafe for TsImportTypeField
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