Struct rusty_xinput::XINPUT_CAPABILITIES_EX
source · #[repr(C)]pub struct XINPUT_CAPABILITIES_EX {
pub capabilities: XINPUT_CAPABILITIES,
pub vendor_id: WORD,
pub product_id: WORD,
pub revision_id: WORD,
pub a4: DWORD,
}
Expand description
Capabilities info from the undocumented XInputGetCapabilitiesEx
fn.
Fields§
§capabilities: XINPUT_CAPABILITIES
The wrapped “basic capabilities” value
vendor_id: WORD
USB Vendor ID of the attached controller
product_id: WORD
USB Product ID of the attached controller
revision_id: WORD
USB Revision ID of the attached controller
a4: DWORD
unknown use
Trait Implementations§
source§impl Clone for XINPUT_CAPABILITIES_EX
impl Clone for XINPUT_CAPABILITIES_EX
source§fn clone(&self) -> XINPUT_CAPABILITIES_EX
fn clone(&self) -> XINPUT_CAPABILITIES_EX
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 moresource§impl Debug for XINPUT_CAPABILITIES_EX
impl Debug for XINPUT_CAPABILITIES_EX
impl Copy for XINPUT_CAPABILITIES_EX
Auto Trait Implementations§
impl RefUnwindSafe for XINPUT_CAPABILITIES_EX
impl Send for XINPUT_CAPABILITIES_EX
impl Sync for XINPUT_CAPABILITIES_EX
impl Unpin for XINPUT_CAPABILITIES_EX
impl UnwindSafe for XINPUT_CAPABILITIES_EX
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