Enum gilrs::Axis [] [src]

#[repr(u16)]
pub enum Axis { LeftStickX, LeftStickY, LeftZ, RightStickX, RightStickY, RightZ, DPadX, DPadY, LeftTrigger, LeftTrigger2, RightTrigger, RightTrigger2, Unknown, }

Gamepad's elements which state can be represented by f32.

Controller layout

Variants

Methods

impl Axis
[src]

[src]

[src]

Trait Implementations

impl Debug for Axis
[src]

[src]

Formats the value using the given formatter.

impl Clone for Axis
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Axis
[src]

impl PartialEq for Axis
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.