pub struct WinitSignal {
pub scheduled: AtomicBool,
/* private fields */
}Expand description
Signal [winit:EventLoop] using ExecutorPollEvent user event with EventLoopProxy
Fields§
§scheduled: AtomicBoolImplementations§
Source§impl WinitSignal
impl WinitSignal
Sourcepub const fn new(proxy: EventLoopProxy<ExecutorPollEvent>) -> Self
pub const fn new(proxy: EventLoopProxy<ExecutorPollEvent>) -> Self
Create new WinitSignal with given EventLoopProxy
Source§impl WinitSignal
impl WinitSignal
pub fn wake_by_ref(&self)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for WinitSignal
impl !RefUnwindSafe for WinitSignal
impl Send for WinitSignal
impl Sync for WinitSignal
impl Unpin for WinitSignal
impl UnwindSafe for WinitSignal
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