Struct tao::event_loop::EventLoopClosed [−][src]
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
.
Trait Implementations
impl<T: Clone> Clone for EventLoopClosed<T>
[src]
impl<T: Clone> Clone for EventLoopClosed<T>
[src]fn clone(&self) -> EventLoopClosed<T>
[src]
fn clone(&self) -> EventLoopClosed<T>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for EventLoopClosed<T>
[src]
impl<T: Debug> Debug for EventLoopClosed<T>
[src]impl<T> Display for EventLoopClosed<T>
[src]
impl<T> Display for EventLoopClosed<T>
[src]impl<T: Debug> Error for EventLoopClosed<T>
[src]
impl<T: Debug> Error for EventLoopClosed<T>
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl<T: Hash> Hash for EventLoopClosed<T>
[src]
impl<T: Hash> Hash for EventLoopClosed<T>
[src]impl<T: PartialEq> PartialEq<EventLoopClosed<T>> for EventLoopClosed<T>
[src]
impl<T: PartialEq> PartialEq<EventLoopClosed<T>> for EventLoopClosed<T>
[src]fn eq(&self, other: &EventLoopClosed<T>) -> bool
[src]
fn eq(&self, other: &EventLoopClosed<T>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &EventLoopClosed<T>) -> bool
[src]
fn ne(&self, other: &EventLoopClosed<T>) -> bool
[src]This method tests for !=
.
impl<T: Copy> Copy for EventLoopClosed<T>
[src]
impl<T: Eq> Eq for EventLoopClosed<T>
[src]
impl<T> StructuralEq for EventLoopClosed<T>
[src]
impl<T> StructuralPartialEq for EventLoopClosed<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for EventLoopClosed<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for EventLoopClosed<T> where
T: Send,
T: Send,
impl<T> Sync for EventLoopClosed<T> where
T: Sync,
T: Sync,
impl<T> Unpin for EventLoopClosed<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for EventLoopClosed<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more