Enum cursive::event::MouseButton
[−]
[src]
pub enum MouseButton { Left, Middle, Right, Button4, Button5, // some variants omitted }
One of the buttons present on the mouse
Variants
Left
The left button, used for main actions.
Middle
Middle button, probably the wheel. Often pastes text in X11 on linux.
Right
The right button, for special actions.
Button4
Fourth button if the mouse supports it.
Button5
Fifth button if the mouse supports it.
Trait Implementations
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 !=
.
impl Eq for MouseButton
[src]
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 Hash for MouseButton
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more