Enum termion::event::MouseButton [] [src]

pub enum MouseButton {
    Left,
    Right,
    Middle,
    WheelUp,
    WheelDown,
}

A mouse button.

Variants

The left mouse button.

The right mouse button.

The middle mouse button.

Mouse wheel is going up.

This event is typically only used with Mouse::Press.

Mouse wheel is going down.

This event is typically only used with Mouse::Press.

Trait Implementations

impl Debug for MouseButton
[src]

Formats the value using the given formatter.

impl Copy for MouseButton
[src]

impl Clone for MouseButton
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MouseButton
[src]

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

This method tests for !=.

impl Eq for MouseButton
[src]

impl Hash for MouseButton
[src]

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

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