Enum amethyst_renderer::MouseButton [−]
pub enum MouseButton {
Left,
Right,
Middle,
Other(u8),
}Describes a button of a mouse controller.
Variants
LeftRightMiddleOther(u8)
Trait Implementations
impl Hash for MouseButton
impl Hash for MouseButtonfn 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 Copy for MouseButton
impl Copy for MouseButtonimpl Eq for MouseButton
impl Eq for MouseButtonimpl PartialEq<MouseButton> for MouseButton
impl PartialEq<MouseButton> for MouseButtonfn eq(&self, other: &MouseButton) -> bool
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
fn ne(&self, other: &MouseButton) -> boolThis method tests for !=.
impl Clone for MouseButton
impl Clone for MouseButtonfn clone(&self) -> MouseButton
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
impl Debug for MouseButtonAuto Trait Implementations
impl Send for MouseButton
impl Send for MouseButtonimpl Sync for MouseButton
impl Sync for MouseButton