Struct windows::Win32::UI::Input::XboxController::XINPUT_KEYSTROKE
#[repr(C)]pub struct XINPUT_KEYSTROKE {
pub VirtualKey: XINPUT_VIRTUAL_KEY,
pub Unicode: u16,
pub Flags: XINPUT_KEYSTROKE_FLAGS,
pub UserIndex: u8,
pub HidCode: u8,
}
Fields§
§VirtualKey: XINPUT_VIRTUAL_KEY
§Unicode: u16
§Flags: XINPUT_KEYSTROKE_FLAGS
§UserIndex: u8
§HidCode: u8
Trait Implementations§
§impl Clone for XINPUT_KEYSTROKE
impl Clone for XINPUT_KEYSTROKE
§fn clone(&self) -> XINPUT_KEYSTROKE
fn clone(&self) -> XINPUT_KEYSTROKE
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 more§impl Debug for XINPUT_KEYSTROKE
impl Debug for XINPUT_KEYSTROKE
§impl Default for XINPUT_KEYSTROKE
impl Default for XINPUT_KEYSTROKE
§impl PartialEq for XINPUT_KEYSTROKE
impl PartialEq for XINPUT_KEYSTROKE
§fn eq(&self, other: &XINPUT_KEYSTROKE) -> bool
fn eq(&self, other: &XINPUT_KEYSTROKE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XINPUT_KEYSTROKE
impl Eq for XINPUT_KEYSTROKE
impl StructuralPartialEq for XINPUT_KEYSTROKE
Auto Trait Implementations§
impl Freeze for XINPUT_KEYSTROKE
impl RefUnwindSafe for XINPUT_KEYSTROKE
impl Send for XINPUT_KEYSTROKE
impl Sync for XINPUT_KEYSTROKE
impl Unpin for XINPUT_KEYSTROKE
impl UnwindSafe for XINPUT_KEYSTROKE
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
)