Struct components::winit::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: T
Trait 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 · sourcefn 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 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn 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 ==
. Read more
fn ne(&self, other: &EventLoopClosed<T>) -> bool
fn ne(&self, other: &EventLoopClosed<T>) -> bool
This method tests for !=
.
impl<T> Copy for EventLoopClosed<T> where
T: Copy,
impl<T> Eq for EventLoopClosed<T> where
T: Eq,
impl<T> StructuralEq for EventLoopClosed<T>
impl<T> StructuralPartialEq for EventLoopClosed<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for EventLoopClosed<T> where
T: RefUnwindSafe,
impl<T> Send for EventLoopClosed<T> where
T: Send,
impl<T> Sync for EventLoopClosed<T> where
T: Sync,
impl<T> Unpin for EventLoopClosed<T> where
T: Unpin,
impl<T> UnwindSafe for EventLoopClosed<T> where
T: UnwindSafe,
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
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.