Enum swc_ecma_visit::fields::BinExprField
source · pub enum BinExprField {
Span,
Op,
Left,
Right,
}
Expand description
This enum represents fields of BinExprField
Variants§
Span
This represents span
Op
This represents op
Left
This represents left
Right
This represents right
Implementations§
Trait Implementations§
source§impl Clone for BinExprField
impl Clone for BinExprField
source§fn clone(&self) -> BinExprField
fn clone(&self) -> BinExprField
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 BinExprField
impl Debug for BinExprField
source§impl<'de> Deserialize<'de> for BinExprField
impl<'de> Deserialize<'de> for BinExprField
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 BinExprField
impl Hash for BinExprField
source§impl Ord for BinExprField
impl Ord for BinExprField
source§fn cmp(&self, other: &BinExprField) -> Ordering
fn cmp(&self, other: &BinExprField) -> 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<BinExprField> for BinExprField
impl PartialEq<BinExprField> for BinExprField
source§fn eq(&self, other: &BinExprField) -> bool
fn eq(&self, other: &BinExprField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BinExprField> for BinExprField
impl PartialOrd<BinExprField> for BinExprField
source§fn partial_cmp(&self, other: &BinExprField) -> Option<Ordering>
fn partial_cmp(&self, other: &BinExprField) -> 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 more