pub struct Expr<'a> {
pub span: SourceSpan,
pub primary: PrimaryExpr<'a>,
pub postfix: Vec<PostfixExpr<'a>>,
}
Expand description
Represents an expression in the AST.
Fields§
§span: SourceSpan
The span of the entire expression.
primary: PrimaryExpr<'a>
The primary expression.
postfix: Vec<PostfixExpr<'a>>
The postfix expressions
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Expr<'a>
impl<'a> RefUnwindSafe for Expr<'a>
impl<'a> Send for Expr<'a>
impl<'a> Sync for Expr<'a>
impl<'a> Unpin for Expr<'a>
impl<'a> UnwindSafe for Expr<'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