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§
source§impl Clone for MouseButton
impl Clone for MouseButton
source§fn clone(&self) -> MouseButton
fn clone(&self) -> MouseButton
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 more