Enum enigo::MouseButton [] [src]

pub enum MouseButton {
    Left,
    Middle,
    Right,
    ScrollUp,
    ScrollDown,
    ScrollLeft,
    ScrollRight,
}

MouseButton represents a mouse button, and is used in for example mouse_click. WARNING: Types with the prefix Scroll IS NOT intended to be used, and may not work on all operating systems.

Variants

Left mouse button

Middle mouse button

Right mouse button

Scroll up button

Left right button

Left right button

Left right button

Trait Implementations

impl Debug for MouseButton
[src]

[src]

Formats the value using the given formatter.

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