Enum components::foundation::asyncwinit::EventAsync
source · [−]pub enum EventAsync<E> where
E: 'static, {
WindowEvent {
window_id: WindowId,
event: WindowEvent<'static>,
},
DeviceEvent {
device_id: DeviceId,
event: DeviceEvent,
},
UserEvent(E),
Suspended,
Resumed,
}
Variants
WindowEvent
DeviceEvent
UserEvent(E)
Suspended
Resumed
Trait Implementations
sourceimpl<E> Clone for EventAsync<E> where
E: 'static + Clone,
impl<E> Clone for EventAsync<E> where
E: 'static + Clone,
sourcefn clone(&self) -> EventAsync<E>
fn clone(&self) -> EventAsync<E>
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
sourceimpl<E> Debug for EventAsync<E> where
E: 'static + Debug,
impl<E> Debug for EventAsync<E> where
E: 'static + Debug,
sourceimpl<E> PartialEq<EventAsync<E>> for EventAsync<E> where
E: 'static + PartialEq<E>,
impl<E> PartialEq<EventAsync<E>> for EventAsync<E> where
E: 'static + PartialEq<E>,
sourcefn eq(&self, other: &EventAsync<E>) -> bool
fn eq(&self, other: &EventAsync<E>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EventAsync<E>) -> bool
fn ne(&self, other: &EventAsync<E>) -> bool
This method tests for !=
.
impl<E> StructuralPartialEq for EventAsync<E> where
E: 'static,
Auto Trait Implementations
impl<E> RefUnwindSafe for EventAsync<E> where
E: RefUnwindSafe,
impl<E> Send for EventAsync<E> where
E: Send,
impl<E> Sync for EventAsync<E> where
E: Sync,
impl<E> Unpin for EventAsync<E> where
E: Unpin,
impl<E> !UnwindSafe for EventAsync<E>
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
.