Enum cursive::event::MouseButton [−][src]
pub enum MouseButton { Left, Middle, Right, Button4, Button5, // some variants omitted }
Expand description
One of the buttons present on the mouse
Variants
The left button, used for main actions.
Middle button, probably the wheel. Often pastes text in X11 on linux.
The right button, for special actions.
Fourth button if the mouse supports it.
Fifth button if the mouse supports it.
Trait Implementations
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
Calls the given closure and return the result. Read more
Calls the given closure on self
.