Struct glutin::EventsLoopProxy [−][src]
pub struct EventsLoopProxy { /* fields omitted */ }Used to wake up the EventsLoop from another thread.
Methods
impl EventsLoopProxy[src]
impl EventsLoopProxypub 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 EventsLoopProxyfn clone(&self) -> EventsLoopProxy[src]
fn clone(&self) -> EventsLoopProxyReturns 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 EventsLoopProxyimpl Sync for EventsLoopProxy
impl Sync for EventsLoopProxy