Struct winit::EventsLoopProxy
[−]
[src]
pub struct EventsLoopProxy { /* fields omitted */ }
Used to wake up the EventsLoop
from another thread.
Methods
impl EventsLoopProxy
[src]
pub fn wakeup(&self) -> Result<(), EventsLoopClosed>
[src]
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.
Trait Implementations
impl Clone for EventsLoopProxy
[src]
fn clone(&self) -> EventsLoopProxy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more