pub enum InputEventKind {
Show 19 variants
None,
MouseMove,
MouseDown,
MouseUp,
MouseScroll,
KeyDown,
KeyUp,
KeyChar,
WindowResize,
WindowClose,
WindowFocus,
WindowBlur,
Pinch,
TextEditing,
MouseEnter,
MouseLeave,
GamepadButtonDown,
GamepadButtonUp,
GamepadAxisMotion,
}Expand description
Discriminant for InputEvent. Donor: UiEventType.
Variants§
None
MouseMove
MouseDown
MouseUp
MouseScroll
KeyDown
KeyUp
KeyChar
Committed text from platform IME.
WindowResize
Window pixel-size changed.
WindowClose
WindowFocus
WindowBlur
Pinch
Multi-touch pinch.
TextEditing
IME pre-edit text update.
MouseEnter
MouseLeave
GamepadButtonDown
Standard-layout gamepad button down.
GamepadButtonUp
Standard-layout gamepad button up.
GamepadAxisMotion
Standard-layout gamepad axis motion.
Trait Implementations§
Source§impl Clone for InputEventKind
impl Clone for InputEventKind
impl Copy for InputEventKind
Source§impl Debug for InputEventKind
impl Debug for InputEventKind
Source§impl Default for InputEventKind
impl Default for InputEventKind
impl Eq for InputEventKind
Source§impl PartialEq for InputEventKind
impl PartialEq for InputEventKind
impl StructuralPartialEq for InputEventKind
Auto Trait Implementations§
impl Forget for InputEventKind
impl Freeze for InputEventKind
impl Move for InputEventKind
impl RefUnwindSafe for InputEventKind
impl Send for InputEventKind
impl Sync for InputEventKind
impl Unpin for InputEventKind
impl UnsafeUnpin for InputEventKind
impl UnwindSafe for InputEventKind
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