pub struct ForStmt {
pub init: Option<Box<Stmt>>,
pub cond: Option<Expr>,
pub step: Option<Expr>,
pub body: Box<Stmt>,
pub span: Span,
}Fields§
§init: Option<Box<Stmt>>§cond: Option<Expr>§step: Option<Expr>§body: Box<Stmt>§span: SpanTrait 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 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