pub struct DoWhileStmt {
pub body: Box<Stmt>,
pub condition: Expr,
}Expand description
A do ... while loop.
Fields§
§body: Box<Stmt>The loop body.
condition: ExprThe loop condition.
Trait Implementations§
Source§impl Clone for DoWhileStmt
impl Clone for DoWhileStmt
Source§impl Debug for DoWhileStmt
impl Debug for DoWhileStmt
Auto Trait Implementations§
impl Freeze for DoWhileStmt
impl RefUnwindSafe for DoWhileStmt
impl Send for DoWhileStmt
impl Sync for DoWhileStmt
impl Unpin for DoWhileStmt
impl UnsafeUnpin for DoWhileStmt
impl UnwindSafe for DoWhileStmt
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