pub trait RuntimeHandle: Debug + Send + Sized + Clone + 'static {
    type Runtime: Runtime<Handle = Self>;
    fn create_window(
        &self,
        pending: PendingWindow<Self::Runtime>
    ) -> Result<DetachedWindow<Self::Runtime>>;
fn run_on_main_thread<F: FnOnce() + Send + 'static>(
        &self,
        f: F
    ) -> Result<()>; }
Expand description

A Send handle to the runtime.

Associated Types

Required methods

Create a new webview window.

Run a task on the main thread.

Implementors