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
sourceimpl Executable for WhileLoop
impl Executable for WhileLoop
sourceimpl Trace for WhileLoop
impl Trace for WhileLoop
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for WhileLoop
Auto Trait Implementations
impl RefUnwindSafe for WhileLoop
impl !Send for WhileLoop
impl !Sync for WhileLoop
impl Unpin for WhileLoop
impl UnwindSafe for WhileLoop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more