pub struct PhaseGuard { /* private fields */ }Expand description
RAII guard returned by phase; restores the prior default phase on drop.
Trait Implementations§
Source§impl Drop for PhaseGuard
impl Drop for PhaseGuard
Auto Trait Implementations§
impl !RefUnwindSafe for PhaseGuard
impl !UnwindSafe for PhaseGuard
impl Freeze for PhaseGuard
impl Send for PhaseGuard
impl Sync for PhaseGuard
impl Unpin for PhaseGuard
impl UnsafeUnpin for PhaseGuard
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