Enum lux::interactive::MouseButton [] [src]

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

A handy enumeration for the buttons on a mouse.

Variants

Left

The left mouse button.

Right

The right mouse button.

Middle

The middle mouse button.

Other

Any other unnamed mouse button.

Trait Implementations

Derived Implementations

impl Copy for MouseButton

impl Clone for MouseButton

fn clone(&self) -> MouseButton

fn clone_from(&mut self, source: &Self)

impl Hash for MouseButton

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for MouseButton

fn eq(&self, __arg_0: &MouseButton) -> bool

fn ne(&self, __arg_0: &MouseButton) -> bool

impl Eq for MouseButton

impl Debug for MouseButton

fn fmt(&self, __arg_0: &mut Formatter) -> Result