pub struct ForeachStmt {
pub expr: Expr,
pub key: Option<Expr>,
pub value: Expr,
pub body: Box<Stmt>,
pub uses_alternative: bool,
}Fields§
§expr: Expr§key: Option<Expr>§value: Expr§body: Box<Stmt>§uses_alternative: boolTrait Implementations§
Source§impl Clone for ForeachStmt
impl Clone for ForeachStmt
Source§fn clone(&self) -> ForeachStmt
fn clone(&self) -> ForeachStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForeachStmt
impl Debug for ForeachStmt
Auto Trait Implementations§
impl Freeze for ForeachStmt
impl RefUnwindSafe for ForeachStmt
impl Send for ForeachStmt
impl Sync for ForeachStmt
impl Unpin for ForeachStmt
impl UnsafeUnpin for ForeachStmt
impl UnwindSafe for ForeachStmt
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