pub struct SchedulerScopeGuard<'a> { /* private fields */ }Expand description
RAII guard from Scheduler::scope_guard. Pops the scope on drop.
Trait Implementations§
Source§impl Drop for SchedulerScopeGuard<'_>
impl Drop for SchedulerScopeGuard<'_>
Auto Trait Implementations§
impl<'a> !UnwindSafe for SchedulerScopeGuard<'a>
impl<'a> Forget for SchedulerScopeGuard<'a>
impl<'a> Freeze for SchedulerScopeGuard<'a>
impl<'a> Move for SchedulerScopeGuard<'a>
impl<'a> RefUnwindSafe for SchedulerScopeGuard<'a>
impl<'a> Send for SchedulerScopeGuard<'a>where
RawTable<(String, u32)>: Send,
RawVecInner: Send,
RawTable<(PhysicalKey, ())>: Send,
RawTable<(GamepadButton, ())>: Send,
RawTable<(GamepadAxis, f32)>: Send,
Arc<CustomCursorImage>: Send,
impl<'a> Sync for SchedulerScopeGuard<'a>where
RawTable<(String, u32)>: Sync,
RawVecInner: Sync,
RawTable<(PhysicalKey, ())>: Sync,
RawTable<(GamepadButton, ())>: Sync,
RawTable<(GamepadAxis, f32)>: Sync,
Arc<CustomCursorImage>: Sync,
impl<'a> Unpin for SchedulerScopeGuard<'a>
impl<'a> UnsafeUnpin for SchedulerScopeGuard<'a>where
&'a mut Scheduler: UnsafeUnpin,
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