pub struct ExprPostfix {
pub expr: Box<Expr>,
pub op: PostUnOp,
}
Expand description
A postfix unary expression: foo++
.
Fields§
§expr: Box<Expr>
§op: PostUnOp
Trait Implementations§
Source§impl Clone for ExprPostfix
impl Clone for ExprPostfix
Source§fn clone(&self) -> ExprPostfix
fn clone(&self) -> ExprPostfix
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExprPostfix
impl Debug for ExprPostfix
Source§impl Parse for ExprPostfix
impl Parse for ExprPostfix
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl Spanned for ExprPostfix
impl Spanned for ExprPostfix
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.Auto Trait Implementations§
impl Freeze for ExprPostfix
impl RefUnwindSafe for ExprPostfix
impl !Send for ExprPostfix
impl !Sync for ExprPostfix
impl Unpin for ExprPostfix
impl UnwindSafe for ExprPostfix
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