pub struct AsyncHandler { /* private fields */ }
Expand description
§A handle to emit asynchronous events
This handle gets created from the asynchronous event handler. Whenever you have
an event to submit to the main event loop, call AsyncHandler::emit
.
Implementations§
Trait Implementations§
Source§impl Clone for AsyncHandler
impl Clone for AsyncHandler
Source§fn clone(&self) -> AsyncHandler
fn clone(&self) -> AsyncHandler
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 moreSource§impl Debug for AsyncHandler
impl Debug for AsyncHandler
impl Send for AsyncHandler
impl Sync for AsyncHandler
Auto Trait Implementations§
impl Freeze for AsyncHandler
impl RefUnwindSafe for AsyncHandler
impl Unpin for AsyncHandler
impl UnwindSafe for AsyncHandler
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