pub struct WhileStmt {
pub cond: Expr,
pub body: Box<Stmt>,
pub do_while: bool,
pub span: Span,
}Fields§
§cond: Expr§body: Box<Stmt>§do_while: booltrue for do { } while (...); — the body runs at least once.
span: SpanTrait 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