pub struct LetStmt {
pub name: String,
pub value: Expression,
pub span: Span,
}Expand description
Let statement: let x = expr
Fields§
§name: String§value: Expression§span: SpanTrait 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 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