pub struct Break { /* private fields */ }
Expand description
The break
statement terminates the current loop, switch, or label statement and transfers
program control to the statement following the terminated statement.
The break statement includes an optional label that allows the program to break out of a labeled statement. The break statement needs to be nested within the referenced label. The labeled statement can be any block statement; it does not have to be preceded by a loop statement.
More information:
Implementations
Trait Implementations
sourceimpl Executable for Break
impl Executable for Break
sourceimpl Trace for Break
impl Trace for Break
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for Break
Auto Trait Implementations
impl RefUnwindSafe for Break
impl Send for Break
impl Sync for Break
impl Unpin for Break
impl UnwindSafe for Break
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