Enum nannou::ui::backend::glium::glium::backend::glutin::glutin::MouseButton [−]
pub enum MouseButton { Left, Right, Middle, Other(u8), }
Describes a button of a mouse controller.
Variants
Left
Right
Middle
Other(u8)
Trait Implementations
impl Hash for MouseButton
impl Hash for MouseButton
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for MouseButton
impl Clone for MouseButton
fn clone(&self) -> MouseButton
fn clone(&self) -> MouseButton
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MouseButton
impl Debug for MouseButton
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for MouseButton
impl Copy for MouseButton
impl Eq for MouseButton
impl Eq for MouseButton
impl PartialEq<MouseButton> for MouseButton
impl PartialEq<MouseButton> for MouseButton
fn eq(&self, other: &MouseButton) -> bool
fn eq(&self, other: &MouseButton) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MouseButton) -> bool
fn ne(&self, other: &MouseButton) -> bool
This method tests for !=
.
impl<S> Index<Button> for ButtonMap<S>
[src]
impl<S> Index<Button> for ButtonMap<S>
Auto Trait Implementations
impl Send for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Sync for MouseButton