Enum glfw::MouseButton [−][src]
#[repr(i32)]
pub enum MouseButton {
Button1,
Button2,
Button3,
Button4,
Button5,
Button6,
Button7,
Button8,
}Expand description
Mouse buttons. The MouseButtonLeft, MouseButtonRight, and
MouseButtonMiddle aliases are supplied for convenience.
Variants
The left mouse button. A MouseButtonLeft alias is provided to improve clarity.
The right mouse button. A MouseButtonRight alias is provided to improve clarity.
The middle mouse button. A MouseButtonMiddle alias is provided to improve clarity.
Implementations
Converts from i32.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnwindSafe for MouseButton
Blanket Implementations
Mutably borrows from an owned value. Read more