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
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
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
.