pub enum EventType {
Mouse(Event),
Keyboard(Event),
Touch(Event),
ConsumerControl(Event),
}
Expand description
Enum of all supported user-input events.
Variants§
Mouse(Event)
Mouse event.
Keyboard(Event)
Keyboard event.
Touch(Event)
Touch event.
ConsumerControl(Event)
Consumer control event.
Trait Implementations§
source§impl PartialEq for EventType
impl PartialEq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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