Enum dprint_swc_ecma_ast_view::UnaryOp[]

pub enum UnaryOp {
    Minus,
    Plus,
    Bang,
    Tilde,
    TypeOf,
    Void,
    Delete,
}

Variants

Minus

-

Plus

+

Bang

!

Tilde

~

TypeOf

typeof

Void

void

Delete

delete

Implementations

impl UnaryOp

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

Trait Implementations

impl Clone for UnaryOp

impl Copy for UnaryOp

impl Debug for UnaryOp

impl<'de> Deserialize<'de> for UnaryOp

impl Display for UnaryOp

impl Eq for UnaryOp

impl EqIgnoreSpan for UnaryOp

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

impl FromStr for UnaryOp

type Err = ()

The associated error which can be returned from parsing.

impl Hash for UnaryOp

impl Ord for UnaryOp

impl PartialEq<UnaryOp> for UnaryOp

impl PartialOrd<UnaryOp> for UnaryOp

impl Serialize for UnaryOp

impl StructuralEq for UnaryOp

impl StructuralPartialEq for UnaryOp

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

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

impl<V> VisitWith<V> for UnaryOp 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.