Struct windows_sys::Win32::UI::Input::XboxController::XINPUT_STATE
#[repr(C)]pub struct XINPUT_STATE {
pub dwPacketNumber: u32,
pub Gamepad: XINPUT_GAMEPAD,
}
Fields§
§dwPacketNumber: u32
§Gamepad: XINPUT_GAMEPAD
Trait Implementations§
§impl Clone for XINPUT_STATE
impl Clone for XINPUT_STATE
§fn clone(&self) -> XINPUT_STATE
fn clone(&self) -> XINPUT_STATE
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_STATE
Auto Trait Implementations§
impl Freeze for XINPUT_STATE
impl RefUnwindSafe for XINPUT_STATE
impl Send for XINPUT_STATE
impl Sync for XINPUT_STATE
impl Unpin for XINPUT_STATE
impl UnwindSafe for XINPUT_STATE
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
)