Enum sdl2_sys::SDL_GameControllerType
source · [−]#[repr(u32)]
pub enum SDL_GameControllerType {
SDL_CONTROLLER_TYPE_UNKNOWN,
SDL_CONTROLLER_TYPE_XBOX360,
SDL_CONTROLLER_TYPE_XBOXONE,
SDL_CONTROLLER_TYPE_PS3,
SDL_CONTROLLER_TYPE_PS4,
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO,
SDL_CONTROLLER_TYPE_VIRTUAL,
SDL_CONTROLLER_TYPE_PS5,
}
Variants
SDL_CONTROLLER_TYPE_UNKNOWN
SDL_CONTROLLER_TYPE_XBOX360
SDL_CONTROLLER_TYPE_XBOXONE
SDL_CONTROLLER_TYPE_PS3
SDL_CONTROLLER_TYPE_PS4
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO
SDL_CONTROLLER_TYPE_VIRTUAL
SDL_CONTROLLER_TYPE_PS5
Trait Implementations
sourceimpl Clone for SDL_GameControllerType
impl Clone for SDL_GameControllerType
sourcefn clone(&self) -> SDL_GameControllerType
fn clone(&self) -> SDL_GameControllerType
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_GameControllerType
impl Debug for SDL_GameControllerType
sourceimpl Hash for SDL_GameControllerType
impl Hash for SDL_GameControllerType
impl Copy for SDL_GameControllerType
impl Eq for SDL_GameControllerType
impl StructuralEq for SDL_GameControllerType
impl StructuralPartialEq for SDL_GameControllerType
Auto Trait Implementations
impl RefUnwindSafe for SDL_GameControllerType
impl Send for SDL_GameControllerType
impl Sync for SDL_GameControllerType
impl Unpin for SDL_GameControllerType
impl UnwindSafe for SDL_GameControllerType
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