pub struct Let {
pub mutable: Mutability,
pub name: Sym,
pub ty: Option<Box<Ty>>,
pub init: Option<Box<Expr>>,
}
Expand description
A local variable declaration Stmt
Fields§
§mutable: Mutability
§name: Sym
§ty: Option<Box<Ty>>
§init: Option<Box<Expr>>
Trait Implementations§
impl Eq for Let
impl StructuralPartialEq for Let
Auto Trait Implementations§
impl Freeze for Let
impl RefUnwindSafe for Let
impl Send for Let
impl Sync for Let
impl Unpin for Let
impl UnwindSafe for Let
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