pub struct GroupGuard { /* private fields */ }Expand description
Holds a group open for the rest of a block. The group closes on every way out of the
block, return, ?, break and an unwind included, because it closes in Drop.
Trait Implementations§
Source§impl Drop for GroupGuard
impl Drop for GroupGuard
Auto Trait Implementations§
impl Freeze for GroupGuard
impl RefUnwindSafe for GroupGuard
impl Send for GroupGuard
impl Sync for GroupGuard
impl Unpin for GroupGuard
impl UnsafeUnpin for GroupGuard
impl UnwindSafe for GroupGuard
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