Struct windows_sys::Win32::UI::Input::XboxController::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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)