Trait tauri::runtime::Runtime[][src]

pub trait Runtime: Sized + 'static {
    type Dispatcher: Dispatch<Runtime = Self>;
    fn new() -> Result<Self>;
fn create_window<P: Params<Runtime = Self>>(
        &mut self,
        pending: PendingWindow<P>
    ) -> Result<DetachedWindow<P>>;
fn run(self); }

The webview runtime interface.

Associated Types

type Dispatcher: Dispatch<Runtime = Self>[src]

The message dispatcher.

Loading content...

Required methods

fn new() -> Result<Self>[src]

Creates a new webview runtime.

fn create_window<P: Params<Runtime = Self>>(
    &mut self,
    pending: PendingWindow<P>
) -> Result<DetachedWindow<P>>
[src]

Create a new webview window.

fn run(self)[src]

Run the webview runtime.

Loading content...

Implementors

impl Runtime for Wry[src]

type Dispatcher = WryDispatcher

Loading content...