pub struct ForStmt {
pub for_pos: Pos,
pub init: Option<Stmt>,
pub cond: Option<Expr>,
pub post: Option<Stmt>,
pub body: Rc<BlockStmt>,
}
Fields§
§for_pos: Pos
§init: Option<Stmt>
§cond: Option<Expr>
§post: Option<Stmt>
§body: Rc<BlockStmt>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ForStmt
impl RefUnwindSafe for ForStmt
impl !Send for ForStmt
impl !Sync for ForStmt
impl Unpin 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