Trait tauri_runtime::RuntimeHandle [−][src]
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>>;
}
Expand description
A Send
handle to the runtime.
Associated Types
Required methods
fn create_window(
&self,
pending: PendingWindow<Self::Runtime>
) -> Result<DetachedWindow<Self::Runtime>>
fn create_window(
&self,
pending: PendingWindow<Self::Runtime>
) -> Result<DetachedWindow<Self::Runtime>>
Create a new webview window.