[][src]Struct gilrs::GamepadId

pub struct GamepadId(_);

Gamepad ID.

It's not possible to create instance of this type directly, but you can obtain one from Gamepad handle or any event. ID is valid for entire lifetime of Gilrs context.

Trait Implementations

impl Into<usize> for GamepadId[src]

impl Clone for GamepadId[src]

impl Copy for GamepadId[src]

impl Eq for GamepadId[src]

impl PartialEq<GamepadId> for GamepadId[src]

impl Debug for GamepadId[src]

impl Display for GamepadId[src]

impl Hash for GamepadId[src]

impl StructuralPartialEq for GamepadId[src]

impl StructuralEq for GamepadId[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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]