pub enum MouseStepKind {
Move,
Down,
Up,
Click,
}Expand description
What kind of mouse event this step is.
Variants§
Move
Pointer movement only — no button change.
Down
Button press.
Up
Button release.
Click
Logical click (DOM click event). Some engines synthesize
this from a Down/Up pair; emitting it explicitly lets the
engine choose.
Trait Implementations§
Source§impl Clone for MouseStepKind
impl Clone for MouseStepKind
Source§fn clone(&self) -> MouseStepKind
fn clone(&self) -> MouseStepKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MouseStepKind
impl Debug for MouseStepKind
Source§impl PartialEq for MouseStepKind
impl PartialEq for MouseStepKind
Source§fn eq(&self, other: &MouseStepKind) -> bool
fn eq(&self, other: &MouseStepKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MouseStepKind
impl Eq for MouseStepKind
impl StructuralPartialEq for MouseStepKind
Auto Trait Implementations§
impl Freeze for MouseStepKind
impl RefUnwindSafe for MouseStepKind
impl Send for MouseStepKind
impl Sync for MouseStepKind
impl Unpin for MouseStepKind
impl UnsafeUnpin for MouseStepKind
impl UnwindSafe for MouseStepKind
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