Enum winit::MouseButton[][src]

pub enum MouseButton {
    Left,
    Right,
    Middle,
    Other(u8),
}

Describes a button of a mouse controller.

Variants

Trait Implementations

impl Debug for MouseButton
[src]

Formats the value using the given formatter. Read more

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MouseButton
[src]

Auto Trait Implementations

impl Send for MouseButton

impl Sync for MouseButton