Enum dprint_swc_ecma_ast_view::AssignOp[]

pub enum AssignOp {
    Assign,
    AddAssign,
    SubAssign,
    MulAssign,
    DivAssign,
    ModAssign,
    LShiftAssign,
    RShiftAssign,
    ZeroFillRShiftAssign,
    BitOrAssign,
    BitXorAssign,
    BitAndAssign,
    ExpAssign,
    AndAssign,
    OrAssign,
    NullishAssign,
}

Variants

Assign

=

AddAssign

+=

SubAssign

-=

MulAssign

*=

DivAssign

/=

ModAssign

%=

LShiftAssign

<<=

RShiftAssign

>>=

ZeroFillRShiftAssign

>>>=

BitOrAssign

|=

BitXorAssign

^=

BitAndAssign

&=

ExpAssign

**=

AndAssign

&&=

OrAssign

||=

NullishAssign

??=

Implementations

impl AssignOp

pub fn as_str(&self) -> &'static str

Trait Implementations

impl Clone for AssignOp

impl Copy for AssignOp

impl Debug for AssignOp

impl<'de> Deserialize<'de> for AssignOp

impl Display for AssignOp

impl Eq for AssignOp

impl EqIgnoreSpan for AssignOp

impl<V> FoldWith<V> for AssignOp where
    V: Fold, 

impl FromStr for AssignOp

type Err = ()

The associated error which can be returned from parsing.

impl Hash for AssignOp

impl Ord for AssignOp

impl PartialEq<AssignOp> for AssignOp

impl PartialOrd<AssignOp> for AssignOp

impl Serialize for AssignOp

impl StructuralEq for AssignOp

impl StructuralPartialEq for AssignOp

impl<V> VisitAllWith<V> for AssignOp where
    V: VisitAll, 

impl<V> VisitMutWith<V> for AssignOp where
    V: VisitMut, 

impl<V> VisitWith<V> for AssignOp where
    V: Visit, 

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Node for T where
    T: Any + ?Sized

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.