pub struct LoopGuard { /* private fields */ }
Expand description
Utility for preventing infinite loops
Use as a guard rail inside a loop block
Implementations§
Auto Trait Implementations§
impl Freeze for LoopGuard
impl RefUnwindSafe for LoopGuard
impl Send for LoopGuard
impl Sync for LoopGuard
impl Unpin for LoopGuard
impl UnwindSafe for LoopGuard
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