Enum sdl2_sys::SDL_JoystickType
source · [−]#[repr(u32)]
pub enum SDL_JoystickType {
SDL_JOYSTICK_TYPE_UNKNOWN,
SDL_JOYSTICK_TYPE_GAMECONTROLLER,
SDL_JOYSTICK_TYPE_WHEEL,
SDL_JOYSTICK_TYPE_ARCADE_STICK,
SDL_JOYSTICK_TYPE_FLIGHT_STICK,
SDL_JOYSTICK_TYPE_DANCE_PAD,
SDL_JOYSTICK_TYPE_GUITAR,
SDL_JOYSTICK_TYPE_DRUM_KIT,
SDL_JOYSTICK_TYPE_ARCADE_PAD,
SDL_JOYSTICK_TYPE_THROTTLE,
}
Variants
SDL_JOYSTICK_TYPE_UNKNOWN
SDL_JOYSTICK_TYPE_GAMECONTROLLER
SDL_JOYSTICK_TYPE_WHEEL
SDL_JOYSTICK_TYPE_ARCADE_STICK
SDL_JOYSTICK_TYPE_FLIGHT_STICK
SDL_JOYSTICK_TYPE_DANCE_PAD
SDL_JOYSTICK_TYPE_GUITAR
SDL_JOYSTICK_TYPE_DRUM_KIT
SDL_JOYSTICK_TYPE_ARCADE_PAD
SDL_JOYSTICK_TYPE_THROTTLE
Trait Implementations
sourceimpl Clone for SDL_JoystickType
impl Clone for SDL_JoystickType
sourcefn clone(&self) -> SDL_JoystickType
fn clone(&self) -> SDL_JoystickType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_JoystickType
impl Debug for SDL_JoystickType
sourceimpl Hash for SDL_JoystickType
impl Hash for SDL_JoystickType
sourceimpl PartialEq<SDL_JoystickType> for SDL_JoystickType
impl PartialEq<SDL_JoystickType> for SDL_JoystickType
impl Copy for SDL_JoystickType
impl Eq for SDL_JoystickType
impl StructuralEq for SDL_JoystickType
impl StructuralPartialEq for SDL_JoystickType
Auto Trait Implementations
impl RefUnwindSafe for SDL_JoystickType
impl Send for SDL_JoystickType
impl Sync for SDL_JoystickType
impl Unpin for SDL_JoystickType
impl UnwindSafe for SDL_JoystickType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more