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