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

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

impl PartialEq for MouseButton
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for MouseButton
[src]

impl Clone for MouseButton
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MouseButton
[src]

impl Hash for MouseButton
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for MouseButton
[src]

[src]

Formats the value using the given formatter.