Enum glfw::MouseButton [−][src]
#[repr(i32)] pub enum MouseButton { Button1, Button2, Button3, Button4, Button5, Button6, Button7, Button8, }
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
impl MouseButton
[src]
impl MouseButton
[src]pub fn from_i32(n: i32) -> Option<MouseButton>
[src]
Converts from i32
.
Trait Implementations
impl Clone for MouseButton
[src]
impl Clone for MouseButton
[src]fn clone(&self) -> MouseButton
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for MouseButton
[src]
impl Hash for MouseButton
[src]impl Ord for MouseButton
[src]
impl Ord for MouseButton
[src]impl PartialEq<MouseButton> for MouseButton
[src]
impl PartialEq<MouseButton> for MouseButton
[src]impl PartialOrd<MouseButton> for MouseButton
[src]
impl PartialOrd<MouseButton> for MouseButton
[src]