#[repr(C, align(4))]
pub union SDL_GameControllerButtonBind_value_data {
pub button: c_int,
pub axis: c_int,
pub hat: SDL_GameControllerButtonBind_hat_data,
}
Fields§
§axis:c_int
§
hat:SDL_GameControllerButtonBind_hat_data
Trait Implementations§
source§impl Clone for SDL_GameControllerButtonBind_value_data
impl Clone for SDL_GameControllerButtonBind_value_data
source§fn clone(&self) -> SDL_GameControllerButtonBind_value_data
fn clone(&self) -> SDL_GameControllerButtonBind_value_data
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_value_data
Auto Trait Implementations§
impl RefUnwindSafe for SDL_GameControllerButtonBind_value_data
impl Send for SDL_GameControllerButtonBind_value_data
impl Sync for SDL_GameControllerButtonBind_value_data
impl Unpin for SDL_GameControllerButtonBind_value_data
impl UnwindSafe for SDL_GameControllerButtonBind_value_data
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