pub struct LetStmt {
pub name: Spanned<String>,
pub value: Spanned<Expr>,
}Expand description
LET $name = value — binds a statement-scope variable.
Fields§
§name: Spanned<String>Binding name without $.
value: Spanned<Expr>The bound value expression.
Trait Implementations§
impl StructuralPartialEq for LetStmt
Auto Trait Implementations§
impl Freeze for LetStmt
impl RefUnwindSafe for LetStmt
impl Send for LetStmt
impl Sync for LetStmt
impl Unpin for LetStmt
impl UnsafeUnpin for LetStmt
impl UnwindSafe for LetStmt
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