pub enum EventType {
Show 40 variants
Click,
DblClick,
ContextMenu,
AuxClick,
MouseDown,
MouseUp,
MouseMove,
MouseEnter,
MouseLeave,
MouseOver,
MouseOut,
PointerDown,
PointerUp,
PointerMove,
KeyDown,
KeyUp,
Input,
Change,
Submit,
Focus,
Blur,
Wheel,
Scroll,
DragStart,
Drag,
DragEnter,
DragOver,
DragLeave,
Drop,
DragEnd,
TransitionRun,
TransitionStart,
TransitionEnd,
TransitionCancel,
AnimationStart,
AnimationIteration,
AnimationEnd,
AnimationCancel,
Resize,
Custom(&'static str),
}Expand description
Standard synthetic event types.
Variants§
Click
DblClick
ContextMenu
W3C contextmenu: fired for a secondary-button press on the nearest listening element.
AuxClick
MouseDown
MouseUp
MouseMove
MouseEnter
MouseLeave
MouseOver
MouseOut
PointerDown
PointerUp
PointerMove
KeyDown
KeyUp
Input
Change
Submit
Focus
Blur
Wheel
Scroll
DragStart
Drag
DragEnter
DragOver
DragLeave
Drop
DragEnd
TransitionRun
TransitionStart
TransitionEnd
TransitionCancel
AnimationStart
AnimationIteration
AnimationEnd
AnimationCancel
Resize
Custom(&'static str)
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Forget for EventType
impl Freeze for EventType
impl Move for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.