Struct tauri_runtime_wry::Wry
source · pub struct Wry<T: UserEvent> { /* private fields */ }
Expand description
A Tauri Runtime
wrapper around wry.
Implementations§
Trait Implementations§
source§impl<T: UserEvent> Runtime<T> for Wry<T>
impl<T: UserEvent> Runtime<T> for Wry<T>
§type Dispatcher = WryDispatcher<T>
type Dispatcher = WryDispatcher<T>
The message dispatcher.
§type EventLoopProxy = EventProxy<T>
type EventLoopProxy = EventProxy<T>
The proxy type.
source§fn new_any_thread() -> Result<Self>
fn new_any_thread() -> Result<Self>
Creates a new webview runtime on any thread.
source§fn create_proxy(&self) -> EventProxy<T>
fn create_proxy(&self) -> EventProxy<T>
Creates an
EventLoopProxy
that can be used to dispatch user events to the main event loop.source§fn create_window(
&self,
pending: PendingWindow<T, Self>
) -> Result<DetachedWindow<T, Self>>
fn create_window(
&self,
pending: PendingWindow<T, Self>
) -> Result<DetachedWindow<T, Self>>
Create a new webview window.
source§fn run_iteration<F: FnMut(RunEvent<T>) + 'static>(
&mut self,
callback: F
) -> RunIteration
fn run_iteration<F: FnMut(RunEvent<T>) + 'static>(
&mut self,
callback: F
) -> RunIteration
Runs the one step of the webview runtime event loop and returns control flow to the caller.