#[repr(u32)]pub enum SDL_GameControllerBindType {
SDL_CONTROLLER_BINDTYPE_NONE = 0,
SDL_CONTROLLER_BINDTYPE_BUTTON = 1,
SDL_CONTROLLER_BINDTYPE_AXIS = 2,
SDL_CONTROLLER_BINDTYPE_HAT = 3,
}
Variants§
SDL_CONTROLLER_BINDTYPE_NONE = 0
SDL_CONTROLLER_BINDTYPE_BUTTON = 1
SDL_CONTROLLER_BINDTYPE_AXIS = 2
SDL_CONTROLLER_BINDTYPE_HAT = 3
Trait Implementations§
Source§impl Clone for SDL_GameControllerBindType
impl Clone for SDL_GameControllerBindType
Source§fn clone(&self) -> SDL_GameControllerBindType
fn clone(&self) -> SDL_GameControllerBindType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Hash for SDL_GameControllerBindType
impl Hash for SDL_GameControllerBindType
impl Copy for SDL_GameControllerBindType
impl Eq for SDL_GameControllerBindType
impl StructuralPartialEq for SDL_GameControllerBindType
Auto Trait Implementations§
impl Freeze for SDL_GameControllerBindType
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more