Enum speedy2d::window::MouseButton [−][src]
pub enum MouseButton { Left, Middle, Right, Other(u16), }
Expand description
Identifies a mouse button.
Variants
The left mouse button.
The middle mouse button.
The right mouse button.
Another mouse button, identified by a number.
Tuple Fields of Other
0: u16
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnwindSafe for MouseButton
Blanket Implementations
Mutably borrows from an owned value. Read more