Struct winit::EventsLoopProxy
[−]
[src]
pub struct EventsLoopProxy { /* fields omitted */ }
Used to wake up the EventsLoop
from another thread.
Methods
impl EventsLoopProxy
[src]
fn wakeup(&self) -> Result<(), EventsLoopClosed>
Wake up the EventsLoop
from which this proxy was created.
This causes the EventsLoop
to emit an Awakened
event.
Returns an Err
if the associated EventsLoop
no longer exists.