Skip to main content

RuntimeWake

Trait RuntimeWake 

Source
pub trait RuntimeWake:
    Send
    + Sync
    + 'static {
    // Required method
    fn wake(&self);
}
Expand description

Native event-loop wake bridge. Implementations are thread-safe and must never borrow the retained UI runtime directly.

Required Methods§

Source

fn wake(&self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§