embedder_traits

Trait EventLoopWaker

Source
pub trait EventLoopWaker: 'static + Send {
    // Required methods
    fn clone_box(&self) -> Box<dyn MainThreadWaker>;
    fn wake(&self);
}

Required Methods§

Source

fn clone_box(&self) -> Box<dyn MainThreadWaker>

Source

fn wake(&self)

Trait Implementations§

Source§

impl Clone for Box<dyn MainThreadWaker>

Source§

fn clone(&self) -> Box<dyn MainThreadWaker>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§