Enum syn::UnOp [−][src]
Expand description
A unary operator: *
, !
, -
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants
Deref(Star)
The *
operator for dereferencing
Tuple Fields of Deref
0: Star
Not(Bang)
The !
operator for logical inversion
Tuple Fields of Not
0: Bang
Neg(Sub)
The -
operator for negation
Tuple Fields of Neg
0: Sub
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnOp
impl UnwindSafe for UnOp
Blanket Implementations
Mutably borrows from an owned value. Read more