Enum rustc_ap_rustc_ast::ast::UnOp [−][src]
pub enum UnOp { Deref, Not, Neg, }
Expand description
Unary operator.
Note that &data
is not an operator, it’s an AddrOf
expression.
Variants
The *
operator for dereferencing
The !
operator for logical inversion
The -
operator for negation
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnOp
impl UnwindSafe for UnOp
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V