pub struct Notify { /* private fields */ }Expand description
Wait for work without repeatedly asking whether it is ready, such as waiting for a new frame.
Only one caller should wait at a time. For a wake-up from background work, use ArcNotify.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Notify
impl !Send for Notify
impl !Sync for Notify
impl !UnwindSafe for Notify
impl Freeze for Notify
impl Unpin for Notify
impl UnsafeUnpin for Notify
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