Trait tauri_runtime::RuntimeHandle [−][src]
pub trait RuntimeHandle: Send + Sized + Clone + 'static { type Runtime: Runtime<Handle = Self>; fn create_window<P: Params<Runtime = Self::Runtime>>(
&self,
pending: PendingWindow<P>
) -> Result<DetachedWindow<P>>; }
Expand description
A Send
handle to the runtime.
Associated Types
Required methods
fn create_window<P: Params<Runtime = Self::Runtime>>(
&self,
pending: PendingWindow<P>
) -> Result<DetachedWindow<P>>
fn create_window<P: Params<Runtime = Self::Runtime>>(
&self,
pending: PendingWindow<P>
) -> Result<DetachedWindow<P>>
Create a new webview window.