Enum syn::UnOp [−][src]
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
Not(Bang)
The !
operator for logical inversion
Neg(Sub)
The -
operator for negation
Trait Implementations
impl Clone for UnOp
[src]
impl Clone for UnOp
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for UnOp
[src]
impl ToTokens for UnOp
[src]