Enum dprint_swc_ecma_ast_view::UpdateOp [−]
pub enum UpdateOp {
PlusPlus,
MinusMinus,
}
Variants
++
--
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for UpdateOp
impl<'de> Deserialize<'de> for UpdateOp
pub fn deserialize<D>(
deserializer: D
) -> Result<UpdateOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<UpdateOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl EqIgnoreSpan for UpdateOp
impl EqIgnoreSpan for UpdateOp
pub fn eq_ignore_span(&self, other: &UpdateOp) -> bool
impl<V> FoldWith<V> for UpdateOp where
V: Fold,
impl<V> FoldWith<V> for UpdateOp where
V: Fold,
impl PartialOrd<UpdateOp> for UpdateOp
impl PartialOrd<UpdateOp> for UpdateOp
pub fn partial_cmp(&self, other: &UpdateOp) -> Option<Ordering>
pub fn partial_cmp(&self, other: &UpdateOp) -> 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 UpdateOp where
V: VisitAll,
impl<V> VisitAllWith<V> for UpdateOp 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 UpdateOp where
V: VisitMut,
impl<V> VisitMutWith<V> for UpdateOp 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 UpdateOp where
V: Visit,
impl<V> VisitWith<V> for UpdateOp 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 UpdateOp
impl StructuralPartialEq for UpdateOp
Auto Trait Implementations
impl RefUnwindSafe for UpdateOp
impl UnwindSafe for UpdateOp
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more