Enum swc_ecma_visit::fields::TsMappedTypeField
source · pub enum TsMappedTypeField {
Span,
Readonly,
TypeParam,
NameType,
Optional,
TypeAnn,
}
Expand description
This enum represents fields of TsMappedTypeField
Variants§
Span
This represents span
Readonly
This represents readonly
TypeParam
This represents type_param
NameType
This represents name_type
Optional
This represents optional
TypeAnn
This represents type_ann
Implementations§
Trait Implementations§
source§impl Clone for TsMappedTypeField
impl Clone for TsMappedTypeField
source§fn clone(&self) -> TsMappedTypeField
fn clone(&self) -> TsMappedTypeField
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 TsMappedTypeField
impl Debug for TsMappedTypeField
source§impl<'de> Deserialize<'de> for TsMappedTypeField
impl<'de> Deserialize<'de> for TsMappedTypeField
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 TsMappedTypeField
impl Hash for TsMappedTypeField
source§impl Ord for TsMappedTypeField
impl Ord for TsMappedTypeField
source§fn cmp(&self, other: &TsMappedTypeField) -> Ordering
fn cmp(&self, other: &TsMappedTypeField) -> 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<TsMappedTypeField> for TsMappedTypeField
impl PartialEq<TsMappedTypeField> for TsMappedTypeField
source§fn eq(&self, other: &TsMappedTypeField) -> bool
fn eq(&self, other: &TsMappedTypeField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TsMappedTypeField> for TsMappedTypeField
impl PartialOrd<TsMappedTypeField> for TsMappedTypeField
source§fn partial_cmp(&self, other: &TsMappedTypeField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsMappedTypeField) -> 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