pub struct DispatcherMainThreadContext<T: UserEvent> {
pub window_target: EventLoopWindowTarget<Message<T>>,
pub web_context: WebContextStore,
pub windows: Arc<Mutex<HashMap<WebviewId, WindowWrapper>>>,
}
Fields
window_target: EventLoopWindowTarget<Message<T>>
web_context: WebContextStore
windows: Arc<Mutex<HashMap<WebviewId, WindowWrapper>>>
Trait Implementations
sourceimpl<T: Clone + UserEvent> Clone for DispatcherMainThreadContext<T>
impl<T: Clone + UserEvent> Clone for DispatcherMainThreadContext<T>
sourcefn clone(&self) -> DispatcherMainThreadContext<T>
fn clone(&self) -> DispatcherMainThreadContext<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug + UserEvent> Debug for DispatcherMainThreadContext<T>
impl<T: Debug + UserEvent> Debug for DispatcherMainThreadContext<T>
impl<T: UserEvent> Send for DispatcherMainThreadContext<T>
impl<T: UserEvent> Sync for DispatcherMainThreadContext<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for DispatcherMainThreadContext<T>
impl<T> Unpin for DispatcherMainThreadContext<T>
impl<T> !UnwindSafe for DispatcherMainThreadContext<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