pub struct DispatcherMainThreadContext<T: UserEvent> {
pub window_target: EventLoopWindowTarget<Message<T>>,
pub web_context: WebContextStore,
pub windows: Arc<WindowsStore>,
}
Fields§
§window_target: EventLoopWindowTarget<Message<T>>
§web_context: WebContextStore
§windows: Arc<WindowsStore>
Trait Implementations§
source§impl<T: Clone + UserEvent> Clone for DispatcherMainThreadContext<T>
impl<T: Clone + UserEvent> Clone for DispatcherMainThreadContext<T>
source§fn clone(&self) -> DispatcherMainThreadContext<T>
fn clone(&self) -> DispatcherMainThreadContext<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<T: UserEvent> Send for DispatcherMainThreadContext<T>
impl<T: UserEvent> Sync for DispatcherMainThreadContext<T>
Auto Trait Implementations§
impl<T> Freeze for DispatcherMainThreadContext<T>
impl<T> !RefUnwindSafe for DispatcherMainThreadContext<T>
impl<T> Unpin for DispatcherMainThreadContext<T>where
T: Unpin,
impl<T> !UnwindSafe for DispatcherMainThreadContext<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)