Enum swc_ecma_visit::fields::TsTypeParamField
source · pub enum TsTypeParamField {
Span,
Name,
IsIn,
IsOut,
Constraint,
Default,
}
Expand description
This enum represents fields of TsTypeParamField
Variants§
Span
This represents span
Name
This represents name
IsIn
This represents is_in
IsOut
This represents is_out
Constraint
This represents constraint
Default
This represents default
Implementations§
Trait Implementations§
source§impl Clone for TsTypeParamField
impl Clone for TsTypeParamField
source§fn clone(&self) -> TsTypeParamField
fn clone(&self) -> TsTypeParamField
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 TsTypeParamField
impl Debug for TsTypeParamField
source§impl<'de> Deserialize<'de> for TsTypeParamField
impl<'de> Deserialize<'de> for TsTypeParamField
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 TsTypeParamField
impl Hash for TsTypeParamField
source§impl Ord for TsTypeParamField
impl Ord for TsTypeParamField
source§fn cmp(&self, other: &TsTypeParamField) -> Ordering
fn cmp(&self, other: &TsTypeParamField) -> 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<TsTypeParamField> for TsTypeParamField
impl PartialEq<TsTypeParamField> for TsTypeParamField
source§fn eq(&self, other: &TsTypeParamField) -> bool
fn eq(&self, other: &TsTypeParamField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TsTypeParamField> for TsTypeParamField
impl PartialOrd<TsTypeParamField> for TsTypeParamField
source§fn partial_cmp(&self, other: &TsTypeParamField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsTypeParamField) -> 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