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