pub enum MouseButton {
None,
Left,
Right,
Scroll,
Misc1,
Misc2,
}Expand description
The possible buttons that can be pressed on a mouse.
Variants§
Trait Implementations§
impl Eq for MouseButton
Source§impl PartialEq for MouseButton
impl PartialEq for MouseButton
Source§fn eq(&self, other: &MouseButton) -> bool
fn eq(&self, other: &MouseButton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MouseButton
Auto Trait Implementations§
impl Freeze for MouseButton
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnsafeUnpin for MouseButton
impl UnwindSafe for MouseButton
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