pub enum Event {
Keyboard(Event),
Mouse(Event),
Window(Event),
Touch(Event),
InputMethod(Event),
}
Expand description
A user interface event.
Note: This type is largely incomplete! If you need to track additional events, feel free to open an issue and share your use case!
Variants§
Keyboard(Event)
A keyboard event
Mouse(Event)
A mouse event
Window(Event)
A window event
Touch(Event)
A touch event
InputMethod(Event)
An input method event
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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