#[repr(i8)]
pub enum JoystickType {
Show 17 variants Unknown, XinputUnknown, XinputGamepad, XinputWheel, XinputArcade, XinputFlightStick, XinputDancePad, XinputGuitar, XinputGuitar2, XinputDrumKit, XinputGuitar3, XinputAracadePad, HIDJoystick, HIDGamepad, HIDDriving, HIDFlight, HID1stPerson,
}

Variants

Unknown

XinputUnknown

XinputGamepad

XinputWheel

XinputArcade

XinputFlightStick

XinputDancePad

XinputGuitar

XinputGuitar2

XinputDrumKit

XinputGuitar3

XinputAracadePad

HIDJoystick

HIDGamepad

HIDDriving

HIDFlight

HID1stPerson

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.