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
Source§impl Trace for WhileLoop
impl Trace for WhileLoop
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for WhileLoop
Auto Trait Implementations§
impl Freeze for WhileLoop
impl RefUnwindSafe for WhileLoop
impl !Send for WhileLoop
impl !Sync for WhileLoop
impl Unpin 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