pub enum MouseKind {
Left,
Middle,
Right,
Up,
Drag,
Move,
ScrollUp,
ScrollDown,
ScrollLeft,
ScrollRight,
}Variants§
Left
Middle
Right
Up
Drag
Move
The pointer moved with no button held.
ScrollUp
ScrollDown
ScrollLeft
The wheel tipped sideways, or a trackpad moving across. Only what can move sideways uses these: elsewhere a trackpad’s drift as it scrolls down would jitter the view.
ScrollRight
Trait Implementations§
impl Copy for MouseKind
impl Eq for MouseKind
impl StructuralPartialEq for MouseKind
Auto Trait Implementations§
impl Forget for MouseKind
impl Freeze for MouseKind
impl RefUnwindSafe for MouseKind
impl Send for MouseKind
impl Sync for MouseKind
impl Unpin for MouseKind
impl UnsafeUnpin for MouseKind
impl UnwindSafe for MouseKind
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