Enum window_events::MouseButton [−][src]
pub enum MouseButton {
Left,
Right,
Middle,
Other(u8),
}Describes a button of a mouse controller.
Variants
LeftRightMiddleOther(u8)
Trait Implementations
impl Debug for MouseButton[src]
impl Debug for MouseButtonfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for MouseButton[src]
impl Hash for MouseButtonfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)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 PartialEq for MouseButton[src]
impl PartialEq 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 !=.
impl Eq for MouseButton[src]
impl Eq for MouseButtonimpl 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 Copy for MouseButton[src]
impl Copy for MouseButtonAuto Trait Implementations
impl Send for MouseButton
impl Send for MouseButtonimpl Sync for MouseButton
impl Sync for MouseButton