Enum stdweb::web::event::MouseButton
[−]
[src]
pub enum MouseButton { Left, Wheel, Right, Button4, Button5, }
Represents buttons on a mouse during mouse events.
Variants
Left
The left mouse button.
Wheel
The mouse wheel/middle mouse button.
Right
The right mouse button.
Button4
The fourth mouse button (browser back).
Button5
The fifth mouse button (browser forward).
Trait Implementations
impl Clone for MouseButton
[src]
fn clone(&self) -> MouseButton
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MouseButton
[src]
impl Debug for MouseButton
[src]
impl PartialEq for MouseButton
[src]
fn eq(&self, __arg_0: &MouseButton) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.