Struct XINPUT_GAMEPAD
#[repr(C)]pub struct XINPUT_GAMEPAD {
pub wButtons: XINPUT_GAMEPAD_BUTTON_FLAGS,
pub bLeftTrigger: u8,
pub bRightTrigger: u8,
pub sThumbLX: i16,
pub sThumbLY: i16,
pub sThumbRX: i16,
pub sThumbRY: i16,
}
Fields§
§wButtons: XINPUT_GAMEPAD_BUTTON_FLAGS
§bLeftTrigger: u8
§bRightTrigger: u8
§sThumbLX: i16
§sThumbLY: i16
§sThumbRX: i16
§sThumbRY: i16
Trait Implementations§
§impl Clone for XINPUT_GAMEPAD
impl Clone for XINPUT_GAMEPAD
§fn clone(&self) -> XINPUT_GAMEPAD
fn clone(&self) -> XINPUT_GAMEPAD
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 XINPUT_GAMEPAD
Auto Trait Implementations§
impl Freeze for XINPUT_GAMEPAD
impl RefUnwindSafe for XINPUT_GAMEPAD
impl Send for XINPUT_GAMEPAD
impl Sync for XINPUT_GAMEPAD
impl Unpin for XINPUT_GAMEPAD
impl UnwindSafe for XINPUT_GAMEPAD
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