pub struct LifecycleCleanupGuard;Expand description
Lifecycle wiring helper — ensures on_unmounted / before_destroy hooks
fire even if the event loop exits via Drop rather than CloseRequested.
Trait Implementations§
Source§impl Drop for LifecycleCleanupGuard
impl Drop for LifecycleCleanupGuard
Auto Trait Implementations§
impl Freeze for LifecycleCleanupGuard
impl RefUnwindSafe for LifecycleCleanupGuard
impl Send for LifecycleCleanupGuard
impl Sync for LifecycleCleanupGuard
impl Unpin for LifecycleCleanupGuard
impl UnsafeUnpin for LifecycleCleanupGuard
impl UnwindSafe for LifecycleCleanupGuard
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