Enum gilrs::Axis
[−]
[src]
#[repr(u16)]pub enum Axis { LeftStickX, LeftStickY, LeftZ, RightStickX, RightStickY, RightZ, LeftTrigger, LeftTrigger2, RightTrigger, RightTrigger2, Unknown, }
Gamepad's elements which state can be represented by f32
.
Variants
LeftStickX
LeftStickY
LeftZ
RightStickX
RightStickY
RightZ
LeftTrigger
LeftTrigger2
RightTrigger
RightTrigger2
Unknown
Methods
impl Axis
[src]
fn is_stick(self) -> bool
fn is_trigger(self) -> bool
Trait Implementations
impl Debug for Axis
[src]
impl Clone for Axis
[src]
fn clone(&self) -> Axis
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more