Struct tauri_runtime_wry::Context
source · [−]pub struct Context<T: UserEvent> {
pub webview_id_map: WebviewIdStore,
pub proxy: WryEventLoopProxy<Message<T>>,
/* private fields */
}
Fields
webview_id_map: WebviewIdStore
proxy: WryEventLoopProxy<Message<T>>
Implementations
sourceimpl<T: UserEvent> Context<T>
impl<T: UserEvent> Context<T>
pub fn run_threaded<R, F>(&self, f: F) -> R where
F: FnOnce(Option<&DispatcherMainThreadContext<T>>) -> R,
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for Context<T>
impl<T> Send for Context<T>
impl<T> Sync for Context<T>
impl<T> Unpin for Context<T> where
T: Unpin,
impl<T> !UnwindSafe for Context<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