pub struct WhileLoop { /* private fields */ }Expand description
The while statement creates a loop that executes a specified statement as long as the
test condition evaluates to true.
The condition is evaluated before executing the statement.
More information:
Implementations§
Trait Implementations§
Source§impl Executable for WhileLoop
impl Executable for WhileLoop
impl StructuralPartialEq for WhileLoop
Auto Trait Implementations§
impl !Send for WhileLoop
impl !Sync for WhileLoop
impl Freeze for WhileLoop
impl RefUnwindSafe for WhileLoop
impl Unpin for WhileLoop
impl UnsafeUnpin for WhileLoop
impl UnwindSafe for WhileLoop
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