pub enum MouseEventKind {
Move,
Press(MousePress),
Release(MousePress),
VertWheel(i16),
HorzWheel(i16),
}
Variants§
Trait Implementations§
source§impl Clone for MouseEventKind
impl Clone for MouseEventKind
source§fn clone(&self) -> MouseEventKind
fn clone(&self) -> MouseEventKind
Returns a copy of the value. Read more
1.0.0 · 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 MouseEventKind
impl Debug for MouseEventKind
source§impl PartialEq for MouseEventKind
impl PartialEq for MouseEventKind
source§fn eq(&self, other: &MouseEventKind) -> bool
fn eq(&self, other: &MouseEventKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MouseEventKind
impl StructuralEq for MouseEventKind
impl StructuralPartialEq for MouseEventKind
Auto Trait Implementations§
impl RefUnwindSafe for MouseEventKind
impl Send for MouseEventKind
impl Sync for MouseEventKind
impl Unpin for MouseEventKind
impl UnwindSafe for MouseEventKind
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