Enum quicksilver::input::GamepadAxis [−][src]
pub enum GamepadAxis { LeftStickX, LeftStickY, RightStickX, RightStickY, }
The axes a gamepad can report
Variants
LeftStickX
The horizontal tilt of the left stick
LeftStickY
The vertical tilt of the left stick
RightStickX
The horizontal tilt of the right stick
RightStickY
The vertical tilt of the right stick
Trait Implementations
impl Copy for GamepadAxis
[src]
impl Copy for GamepadAxis
impl Clone for GamepadAxis
[src]
impl Clone for GamepadAxis
fn clone(&self) -> GamepadAxis
[src]
fn clone(&self) -> GamepadAxis
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 GamepadAxis
[src]
impl Debug for GamepadAxis
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for GamepadAxis
[src]
impl Eq for GamepadAxis
impl PartialEq for GamepadAxis
[src]
impl PartialEq for GamepadAxis
fn eq(&self, other: &GamepadAxis) -> bool
[src]
fn eq(&self, other: &GamepadAxis) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for GamepadAxis
[src]
impl Hash for GamepadAxis
fn 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 Index<GamepadAxis> for Gamepad
[src]
impl Index<GamepadAxis> for Gamepad
Auto Trait Implementations
impl Send for GamepadAxis
impl Send for GamepadAxis
impl Sync for GamepadAxis
impl Sync for GamepadAxis