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