pub struct ExprStmt {
pub leading_comments: Vec<Comment>,
pub expr: Expr,
pub semi_span: Span,
}Expand description
An expression statement: expr;.
Fields§
§leading_comments: Vec<Comment>§expr: Expr§semi_span: SpanImplementations§
Trait Implementations§
impl Eq for ExprStmt
impl StructuralPartialEq for ExprStmt
Auto Trait Implementations§
impl Freeze for ExprStmt
impl RefUnwindSafe for ExprStmt
impl Send for ExprStmt
impl Sync for ExprStmt
impl Unpin for ExprStmt
impl UnsafeUnpin for ExprStmt
impl UnwindSafe for ExprStmt
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