Struct dioxus_desktop::tao::event_loop::EventLoopClosed
pub struct EventLoopClosed<T>(pub T);Expand description
The error that is returned when an EventLoopProxy attempts to wake up an EventLoop that
no longer exists. Contains the original event given to send_event.
Tuple Fields§
§0: TTrait Implementations§
§impl<T> Clone for EventLoopClosed<T>where
T: Clone,
impl<T> Clone for EventLoopClosed<T>where
T: Clone,
§fn clone(&self) -> EventLoopClosed<T>
fn clone(&self) -> EventLoopClosed<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 more§impl<T> Debug for EventLoopClosed<T>where
T: Debug,
impl<T> Debug for EventLoopClosed<T>where
T: Debug,
§impl<T> Display for EventLoopClosed<T>
impl<T> Display for EventLoopClosed<T>
§impl<T> Error for EventLoopClosed<T>where
T: Debug,
impl<T> Error for EventLoopClosed<T>where
T: Debug,
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl<T> Hash for EventLoopClosed<T>where
T: Hash,
impl<T> Hash for EventLoopClosed<T>where
T: Hash,
§impl<T> PartialEq<EventLoopClosed<T>> for EventLoopClosed<T>where
T: PartialEq<T>,
impl<T> PartialEq<EventLoopClosed<T>> for EventLoopClosed<T>where
T: PartialEq<T>,
§fn eq(&self, other: &EventLoopClosed<T>) -> bool
fn eq(&self, other: &EventLoopClosed<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.