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
sourceimpl Clone for SDL_GameControllerButtonBind
impl Clone for SDL_GameControllerButtonBind
sourcefn clone(&self) -> SDL_GameControllerButtonBind
fn clone(&self) -> SDL_GameControllerButtonBind
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
impl Copy for SDL_GameControllerButtonBind
Auto Trait Implementations
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
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