pub struct WhileStmt {
pub condition: Expression,
pub body: Block,
pub span: Span,
}Expand description
While loop statement
Fields§
§condition: ExpressionLoop condition
body: BlockLoop body
span: SpanSource location
Trait Implementations§
impl StructuralPartialEq for WhileStmt
Auto Trait Implementations§
impl Freeze for WhileStmt
impl RefUnwindSafe for WhileStmt
impl Send for WhileStmt
impl Sync for WhileStmt
impl Unpin for WhileStmt
impl UnwindSafe for WhileStmt
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