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 moreimpl Copy for PropField
impl Eq for PropField
impl StructuralEq for PropField
impl StructuralPartialEq for PropField
Auto Trait Implementations§
impl RefUnwindSafe for PropField
impl Send for PropField
impl Sync for PropField
impl Unpin for PropField
impl UnwindSafe for PropField
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