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