Struct async_component_winit::executor::signal::WinitSignal
source · pub struct WinitSignal {
pub scheduled: AtomicBool,
/* private fields */
}
Expand description
Signal [winit:EventLoop
] using ExecutorPollEvent
user event with EventLoopProxy
Fields§
§scheduled: AtomicBool
Implementations§
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