Enum glfw::GamepadAxis[][src]

#[repr(i32)]
pub enum GamepadAxis {
    AxisLeftX,
    AxisLeftY,
    AxisRightX,
    AxisRightY,
    AxisLeftTrigger,
    AxisRightTrigger,
}

Axis identifier tokens.

Variants

AxisLeftX
AxisLeftY
AxisRightX
AxisRightY
AxisLeftTrigger
AxisRightTrigger

Implementations

impl GamepadAxis[src]

pub fn from_i32(n: i32) -> Option<GamepadAxis>[src]

Converts from i32.

Trait Implementations

impl Clone for GamepadAxis[src]

impl Debug for GamepadAxis[src]

impl Hash for GamepadAxis[src]

impl Ord for GamepadAxis[src]

impl PartialEq<GamepadAxis> for GamepadAxis[src]

impl PartialOrd<GamepadAxis> for GamepadAxis[src]

impl Copy for GamepadAxis[src]

impl Eq for GamepadAxis[src]

impl StructuralEq for GamepadAxis[src]

impl StructuralPartialEq for GamepadAxis[src]

Auto Trait Implementations

impl RefUnwindSafe for GamepadAxis

impl Send for GamepadAxis

impl Sync for GamepadAxis

impl Unpin for GamepadAxis

impl UnwindSafe for GamepadAxis

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.