Enum swc_ecma_visit::fields::PropField
source · pub enum PropField {
Shorthand,
KeyValue,
Assign,
Getter,
Setter,
Method,
}
Expand description
This enum represents fields of PropField
Variants§
Shorthand
This represents Shorthand
KeyValue
This represents KeyValue
Assign
This represents Assign
Getter
This represents Getter
Setter
This represents Setter
Method
This represents Method
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PropField
impl<'de> Deserialize<'de> for PropField
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 Ord for PropField
impl Ord for PropField
source§impl PartialEq<PropField> for PropField
impl PartialEq<PropField> for PropField
source§impl PartialOrd<PropField> for PropField
impl PartialOrd<PropField> for PropField
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