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