Trait webxr_api::MainThreadWaker

source ·
pub trait MainThreadWaker: '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) -> Self

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§