Struct syn_solidity::ExprPostfix
source · 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 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