pub struct ForStmt {
pub init: Option<ForInit>,
pub condition: Option<Expr>,
pub update: Option<Expr>,
pub body: Block,
pub span: Span,
}Fields§
§init: Option<ForInit>§condition: Option<Expr>§update: Option<Expr>§body: Block§span: SpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for ForStmt
impl<'de> Deserialize<'de> for ForStmt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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