Struct sdl2_sys::SDL_GameControllerButtonBind
source · #[repr(C)]pub struct SDL_GameControllerButtonBind {
pub bindType: SDL_GameControllerBindType,
pub value: SDL_GameControllerButtonBind__bindgen_ty_1,
}
Expand description
Get the SDL joystick layer binding for this controller button/axis mapping
Fields§
§bindType: SDL_GameControllerBindType
§value: SDL_GameControllerButtonBind__bindgen_ty_1
Trait Implementations§
source§impl Clone for SDL_GameControllerButtonBind
impl Clone for SDL_GameControllerButtonBind
source§fn clone(&self) -> SDL_GameControllerButtonBind
fn clone(&self) -> SDL_GameControllerButtonBind
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 moreimpl Copy for SDL_GameControllerButtonBind
Auto Trait Implementations§
impl Freeze for SDL_GameControllerButtonBind
impl RefUnwindSafe for SDL_GameControllerButtonBind
impl Send for SDL_GameControllerButtonBind
impl Sync for SDL_GameControllerButtonBind
impl Unpin for SDL_GameControllerButtonBind
impl UnwindSafe for SDL_GameControllerButtonBind
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