[][src]Trait events_loop::EventsLoopProxy

pub trait EventsLoopProxy: Send {
    pub fn wakeup(&self) -> Result<(), EventsLoopClosed>;
pub fn clone(&self) -> Box<dyn EventsLoopProxy>; }

Used to wake up the EventsLoop from another thread.

Required methods

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.

pub fn clone(&self) -> Box<dyn EventsLoopProxy>[src]

Loading content...

Implementors

Loading content...