pub struct UnOpExpr<'a> {
pub op: UnOp<'a>,
pub right: Box<Expr<'a>>,
}Expand description
An unary operation expression.
Fields§
§op: UnOp<'a>The operator.
right: Box<Expr<'a>>The right expression.
Trait Implementations§
Source§impl<'a> AstDescend<'a> for UnOpExpr<'a>
impl<'a> AstDescend<'a> for UnOpExpr<'a>
fn descend_mut<T: VisitorMut<'a>>(&mut self, visitor: &mut T)
Auto Trait Implementations§
impl<'a> Freeze for UnOpExpr<'a>
impl<'a> RefUnwindSafe for UnOpExpr<'a>
impl<'a> Send for UnOpExpr<'a>
impl<'a> Sync for UnOpExpr<'a>
impl<'a> Unpin for UnOpExpr<'a>
impl<'a> UnwindSafe for UnOpExpr<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more