Enum speedy2d::window::MouseButton
source · [−]pub enum MouseButton {
Left,
Middle,
Right,
Other(u16),
}
Expand description
Identifies a mouse button.
Variants
Left
The left mouse button.
Middle
The middle mouse button.
Right
The right mouse button.
Other(u16)
Another mouse button, identified by a number.
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