[][src]Struct quicksilver::input::Gamepad

pub struct Gamepad { /* fields omitted */ }

A queryable traditional 2-stick gamepad

Methods

impl Gamepad[src]

pub fn id(&self) -> i32[src]

Get the ID of the gamepad

Trait Implementations

impl Clone for Gamepad[src]

impl Copy for Gamepad[src]

impl Debug for Gamepad[src]

impl Index<GamepadAxis> for Gamepad[src]

type Output = f32

The returned type after indexing.

impl Index<GamepadButton> for Gamepad[src]

type Output = ButtonState

The returned type after indexing.

Auto Trait Implementations

impl Send for Gamepad

impl Sync for Gamepad

impl Unpin for Gamepad

impl UnwindSafe for Gamepad

impl RefUnwindSafe for Gamepad

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> SetParameter for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Downcast for T where
    T: Any

impl<T> Slottable for T where
    T: Copy
[src]