pub struct RegionGuard<'a> { /* private fields */ }Expand description
An entered region, exited when dropped, so an early return still exits.
Implementations§
Trait Implementations§
Source§impl Drop for RegionGuard<'_>
impl Drop for RegionGuard<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RegionGuard<'a>
impl<'a> !UnwindSafe for RegionGuard<'a>
impl<'a> Freeze for RegionGuard<'a>
impl<'a> Send for RegionGuard<'a>
impl<'a> Sync for RegionGuard<'a>
impl<'a> Unpin for RegionGuard<'a>
impl<'a> UnsafeUnpin for RegionGuard<'a>
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