Enum syn::UnOp [−][src]
This is supported on crate features
full
or derive
only.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
Not(Bang)
The !
operator for logical inversion
Neg(Sub)
The -
operator for negation
Trait Implementations
This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
parsing
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
printing
only.This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.Auto Trait Implementations
impl RefUnwindSafe for UnOp
impl UnwindSafe for UnOp
Blanket Implementations
Mutably borrows from an owned value. Read more