Enum stdweb::web::event::MouseButton [] [src]

pub enum MouseButton {
    Left,
    Wheel,
    Right,
    Button4,
    Button5,
}

Represents buttons on a mouse during mouse events.

Variants

The left mouse button.

The mouse wheel/middle mouse button.

The right mouse button.

The fourth mouse button (browser back).

The fifth mouse button (browser forward).

Trait Implementations

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 Debug for MouseButton
[src]

[src]

Formats the value using the given formatter.

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]