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