Enum dprint_swc_ecma_ast_view::AssignOp [−]
pub enum AssignOp {
Show 16 variants
Assign,
AddAssign,
SubAssign,
MulAssign,
DivAssign,
ModAssign,
LShiftAssign,
RShiftAssign,
ZeroFillRShiftAssign,
BitOrAssign,
BitXorAssign,
BitAndAssign,
ExpAssign,
AndAssign,
OrAssign,
NullishAssign,
}
Variants
=
+=
-=
*=
/=
%=
<<=
>>=
>>>=
|=
^=
&=
**=
&&=
||=
??=
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for AssignOp
impl<'de> Deserialize<'de> for AssignOp
pub fn deserialize<D>(
deserializer: D
) -> Result<AssignOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<AssignOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl EqIgnoreSpan for AssignOp
impl EqIgnoreSpan for AssignOp
pub fn eq_ignore_span(&self, other: &AssignOp) -> bool
impl<V> FoldWith<V> for AssignOp where
V: Fold,
impl<V> FoldWith<V> for AssignOp where
V: Fold,
impl PartialOrd<AssignOp> for AssignOp
impl PartialOrd<AssignOp> for AssignOp
pub fn partial_cmp(&self, other: &AssignOp) -> Option<Ordering>
pub fn partial_cmp(&self, other: &AssignOp) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<V> VisitAllWith<V> for AssignOp where
V: VisitAll,
impl<V> VisitAllWith<V> for AssignOp where
V: VisitAll,
pub fn visit_all_with(&self, _parent: &(dyn Node + 'static), v: &mut V)
pub fn visit_all_children_with(&self, _visitor: &mut V)
pub fn visit_all_children_with(&self, _visitor: &mut V)
Visit children nodes of self with v
impl<V> VisitMutWith<V> for AssignOp where
V: VisitMut,
impl<V> VisitMutWith<V> for AssignOp where
V: VisitMut,
pub fn visit_mut_with(&mut self, v: &mut V)
pub fn visit_mut_children_with(&mut self, _visitor: &mut V)
impl<V> VisitWith<V> for AssignOp where
V: Visit,
impl<V> VisitWith<V> for AssignOp where
V: Visit,
pub fn visit_with(&self, _parent: &(dyn Node + 'static), v: &mut V)
pub fn visit_children_with(&self, _visitor: &mut V)
pub fn visit_children_with(&self, _visitor: &mut V)
Visit children nodes of self with v
impl StructuralEq for AssignOp
impl StructuralPartialEq for AssignOp
Auto Trait Implementations
impl RefUnwindSafe for AssignOp
impl UnwindSafe for AssignOp
Blanket Implementations
Mutably borrows from an owned value. Read more