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)
Tuple Fields
0: Star
The *
operator for dereferencing
Not(Bang)
Tuple Fields
0: Bang
The !
operator for logical inversion
Neg(Sub)
Tuple Fields
0: Sub
The -
operator for negation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnOp
impl UnwindSafe for UnOp
Blanket Implementations
Mutably borrows from an owned value. Read more