#[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
source§impl PartialEq for SDL_GameControllerBindType
impl PartialEq for SDL_GameControllerBindType
source§fn eq(&self, other: &SDL_GameControllerBindType) -> bool
fn eq(&self, other: &SDL_GameControllerBindType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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