Struct devise::syn::ExprUnary [−][src]
pub struct ExprUnary {
pub attrs: Vec<Attribute, Global>,
pub op: UnOp,
pub expr: Box<Expr, Global>,
}Expand description
A unary operation: !x, *x.
This type is available if Syn is built with the "derive" or
"full" feature.
Fields
attrs: Vec<Attribute, Global>op: UnOpexpr: Box<Expr, Global>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprUnary
impl UnwindSafe for ExprUnary
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more