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§
source§impl<T: UserEvent> Context<T>
impl<T: UserEvent> Context<T>
pub fn run_threaded<R, F>(&self, f: F) -> Rwhere 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>
impl<T> !UnwindSafe for Context<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more