Enum glutin::MouseButton [−][src]
pub enum MouseButton {
Left,
Right,
Middle,
Other(u8),
}Describes a button of a mouse controller.
Variants
LeftRightMiddleOther(u8)Trait Implementations
impl Clone for MouseButton[src]
impl Clone for MouseButtonfn clone(&self) -> MouseButton[src]
fn clone(&self) -> MouseButtonReturns 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[src]
impl Debug for MouseButtonfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for MouseButton[src]
impl Copy for MouseButtonimpl Hash for MouseButton[src]
impl Hash for MouseButtonfn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
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 Eq for MouseButton[src]
impl Eq for MouseButtonimpl PartialEq<MouseButton> for MouseButton[src]
impl PartialEq<MouseButton> for MouseButtonfn eq(&self, other: &MouseButton) -> bool[src]
fn eq(&self, other: &MouseButton) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MouseButton) -> bool[src]
fn ne(&self, other: &MouseButton) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for MouseButton
impl Send for MouseButtonimpl Sync for MouseButton
impl Sync for MouseButton