Enum swc_ecma_visit::fields::TsLitField
source · pub enum TsLitField {
BigInt,
Number,
Str,
Bool,
Tpl,
}
Expand description
This enum represents fields of TsLitField
Variants§
BigInt
This represents BigInt
Number
This represents Number
Str
This represents Str
Bool
This represents Bool
Tpl
This represents Tpl
Implementations§
Trait Implementations§
source§impl Clone for TsLitField
impl Clone for TsLitField
source§fn clone(&self) -> TsLitField
fn clone(&self) -> TsLitField
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 TsLitField
impl Debug for TsLitField
source§impl<'de> Deserialize<'de> for TsLitField
impl<'de> Deserialize<'de> for TsLitField
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 TsLitField
impl Hash for TsLitField
source§impl Ord for TsLitField
impl Ord for TsLitField
source§fn cmp(&self, other: &TsLitField) -> Ordering
fn cmp(&self, other: &TsLitField) -> 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<TsLitField> for TsLitField
impl PartialEq<TsLitField> for TsLitField
source§fn eq(&self, other: &TsLitField) -> bool
fn eq(&self, other: &TsLitField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TsLitField> for TsLitField
impl PartialOrd<TsLitField> for TsLitField
source§fn partial_cmp(&self, other: &TsLitField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsLitField) -> 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