Struct resast::expr::UpdateExpr [−][src]
pub struct UpdateExpr<'a> {
pub operator: UpdateOp,
pub argument: Box<Expr<'a>>,
pub prefix: bool,
}
Expand description
Increment or decrementing a value
Fields
operator: UpdateOp
argument: Box<Expr<'a>>
prefix: bool
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateExpr<'a>
impl<'a> Send for UpdateExpr<'a>
impl<'a> Sync for UpdateExpr<'a>
impl<'a> Unpin for UpdateExpr<'a>
impl<'a> UnwindSafe for UpdateExpr<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more