pub struct ForStmt {
pub binding: Spanned<String>,
pub iterable: Spanned<Expr>,
pub body: Block,
}Expand description
FOR $item IN iterable { ... }.
Fields§
§binding: Spanned<String>Loop binding name without $.
iterable: Spanned<Expr>The expression iterated over.
body: BlockThe loop body.
Trait Implementations§
impl StructuralPartialEq for ForStmt
Auto Trait Implementations§
impl Freeze for ForStmt
impl RefUnwindSafe for ForStmt
impl Send for ForStmt
impl Sync for ForStmt
impl Unpin for ForStmt
impl UnsafeUnpin for ForStmt
impl UnwindSafe for ForStmt
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