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