Struct tauri_runtime_wry::Wry
source · [−]pub struct Wry<T: UserEvent> { /* private fields */ }
Expand description
A Tauri Runtime
wrapper around wry.
Trait Implementations
sourceimpl<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 GlobalShortcutManager = GlobalShortcutManagerHandle<T>
type GlobalShortcutManager = GlobalShortcutManagerHandle<T>
The global shortcut manager type.
type ClipboardManager = ClipboardManagerWrapper<T>
type ClipboardManager = ClipboardManagerWrapper<T>
The clipboard manager type.
type EventLoopProxy = EventProxy<T>
type EventLoopProxy = EventProxy<T>
The proxy type.
sourcefn new_any_thread() -> Result<Self>
fn new_any_thread() -> Result<Self>
Creates a new webview runtime on any thread.
sourcefn 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.
sourcefn global_shortcut_manager(&self) -> Self::GlobalShortcutManager
fn global_shortcut_manager(&self) -> Self::GlobalShortcutManager
Gets the global shortcut manager.
sourcefn clipboard_manager(&self) -> Self::ClipboardManager
fn clipboard_manager(&self) -> Self::ClipboardManager
Gets the clipboard manager.
sourcefn 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.
sourcefn 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.
Auto Trait Implementations
impl<T> !RefUnwindSafe for Wry<T>
impl<T> !Send for Wry<T>
impl<T> !Sync for Wry<T>
impl<T> Unpin for Wry<T>
impl<T> !UnwindSafe for Wry<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more