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