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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)