#[repr(C)]pub struct XINPUT_GAMEPAD {
pub wButtons: WORD,
pub bLeftTrigger: BYTE,
pub bRightTrigger: BYTE,
pub sThumbLX: SHORT,
pub sThumbLY: SHORT,
pub sThumbRX: SHORT,
pub sThumbRY: SHORT,
}
Fields§
§wButtons: WORD
§bLeftTrigger: BYTE
§bRightTrigger: BYTE
§sThumbLX: SHORT
§sThumbLY: SHORT
§sThumbRX: SHORT
§sThumbRY: SHORT
Trait Implementations§
Source§impl Clone for XINPUT_GAMEPAD
impl Clone for XINPUT_GAMEPAD
Source§fn clone(&self) -> XINPUT_GAMEPAD
fn clone(&self) -> XINPUT_GAMEPAD
Returns a duplicate 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 Default for XINPUT_GAMEPAD
impl Default for XINPUT_GAMEPAD
Source§fn default() -> XINPUT_GAMEPAD
fn default() -> XINPUT_GAMEPAD
Returns the “default value” for a type. Read more
impl 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