Enum sdl2::controller::Axis [−][src]
#[repr(i32)]
pub enum Axis {
LeftX,
LeftY,
RightX,
RightY,
TriggerLeft,
TriggerRight,
}Variants
Implementations
Return the Axis from a string description in the same format used by the game controller mapping strings.
Return a string for a given axis in the same format using by the game controller mapping strings
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Axis
impl UnwindSafe for Axis
Blanket Implementations
Mutably borrows from an owned value. Read more