pub struct Stmt<Expr>(pub Expr);Expand description
A standalone statement. Renders the expression and adds a semicolon and a new line.
Tuple Fields§
§0: ExprTrait Implementations§
Auto Trait Implementations§
impl<Expr> Freeze for Stmt<Expr>where
Expr: Freeze,
impl<Expr> RefUnwindSafe for Stmt<Expr>where
Expr: RefUnwindSafe,
impl<Expr> Send for Stmt<Expr>where
Expr: Send,
impl<Expr> Sync for Stmt<Expr>where
Expr: Sync,
impl<Expr> Unpin for Stmt<Expr>where
Expr: Unpin,
impl<Expr> UnwindSafe for Stmt<Expr>where
Expr: UnwindSafe,
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