#[repr(u32)]
pub enum SDL_GameControllerBindType {
SDL_CONTROLLER_BINDTYPE_NONE,
SDL_CONTROLLER_BINDTYPE_BUTTON,
SDL_CONTROLLER_BINDTYPE_AXIS,
SDL_CONTROLLER_BINDTYPE_HAT,
}
Variants
SDL_CONTROLLER_BINDTYPE_NONE
SDL_CONTROLLER_BINDTYPE_BUTTON
SDL_CONTROLLER_BINDTYPE_AXIS
SDL_CONTROLLER_BINDTYPE_HAT
Trait Implementations
sourceimpl Clone for SDL_GameControllerBindType
impl Clone for SDL_GameControllerBindType
sourcefn clone(&self) -> SDL_GameControllerBindType
fn clone(&self) -> SDL_GameControllerBindType
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_GameControllerBindType
impl Debug for SDL_GameControllerBindType
sourceimpl Hash for SDL_GameControllerBindType
impl Hash for SDL_GameControllerBindType
impl Copy for SDL_GameControllerBindType
impl Eq for SDL_GameControllerBindType
impl StructuralEq for SDL_GameControllerBindType
impl StructuralPartialEq for SDL_GameControllerBindType
Auto Trait Implementations
impl RefUnwindSafe for SDL_GameControllerBindType
impl Send for SDL_GameControllerBindType
impl Sync for SDL_GameControllerBindType
impl Unpin for SDL_GameControllerBindType
impl UnwindSafe for SDL_GameControllerBindType
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