pub struct BreakStatement {
pub loc: Loc,
}Expand description
v1.14.0 — break keyword inside a for-in body. Carries no
payload; the runner translates it into a sentinel that
terminates the loop. Parser scope check (loop_depth)
guarantees this only appears inside a for-in body.
Fields§
§loc: LocTrait Implementations§
Auto Trait Implementations§
impl Freeze for BreakStatement
impl RefUnwindSafe for BreakStatement
impl Send for BreakStatement
impl Sync for BreakStatement
impl Unpin for BreakStatement
impl UnsafeUnpin for BreakStatement
impl UnwindSafe for BreakStatement
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