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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MouseButton
[src]

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