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]
impl PartialEq for MouseButton
fn eq(&self, other: &MouseButton) -> bool
[src]
fn eq(&self, other: &MouseButton) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for MouseButton
[src]
impl Eq for MouseButton
impl Clone for MouseButton
[src]
impl Clone for MouseButton
fn clone(&self) -> MouseButton
[src]
fn clone(&self) -> MouseButton
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MouseButton
[src]
impl Copy for MouseButton
impl Hash for MouseButton
[src]
impl Hash for MouseButton
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for MouseButton
[src]
impl Debug for MouseButton
Auto Trait Implementations
impl Send for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Sync for MouseButton