pub struct StmtLet {
pub meta: Meta,
pub pat: Pattern,
pub value: Expr,
}Expand description
Let statement.
Fields§
§meta: Meta§pat: Pattern§value: ExprImplementations§
Source§impl StmtLet
impl StmtLet
Sourcepub fn clear_spans(&mut self)
pub fn clear_spans(&mut self)
Removes span data from the statement in place.
Trait Implementations§
impl Eq for StmtLet
impl StructuralPartialEq for StmtLet
Auto Trait Implementations§
impl Freeze for StmtLet
impl RefUnwindSafe for StmtLet
impl Send for StmtLet
impl Sync for StmtLet
impl Unpin for StmtLet
impl UnsafeUnpin for StmtLet
impl UnwindSafe for StmtLet
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