#[repr(C)]pub struct RID_DEVICE_INFO_HID {
pub dwVendorId: u32,
pub dwProductId: u32,
pub dwVersionNumber: u32,
pub usUsagePage: u16,
pub usUsage: u16,
}
Fields§
§dwVendorId: u32
§dwProductId: u32
§dwVersionNumber: u32
§usUsagePage: u16
§usUsage: u16
Trait Implementations§
Source§impl Abi for RID_DEVICE_INFO_HID
impl Abi for RID_DEVICE_INFO_HID
Source§type Abi = RID_DEVICE_INFO_HID
type Abi = RID_DEVICE_INFO_HID
The abi representation of the implementing type. Read more
type DefaultType = RID_DEVICE_INFO_HID
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for RID_DEVICE_INFO_HID
impl Clone for RID_DEVICE_INFO_HID
Source§fn clone(&self) -> RID_DEVICE_INFO_HID
fn clone(&self) -> RID_DEVICE_INFO_HID
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 RID_DEVICE_INFO_HID
impl Debug for RID_DEVICE_INFO_HID
Source§impl Default for RID_DEVICE_INFO_HID
impl Default for RID_DEVICE_INFO_HID
Source§impl PartialEq for RID_DEVICE_INFO_HID
impl PartialEq for RID_DEVICE_INFO_HID
impl Copy for RID_DEVICE_INFO_HID
impl Eq for RID_DEVICE_INFO_HID
Auto Trait Implementations§
impl Freeze for RID_DEVICE_INFO_HID
impl RefUnwindSafe for RID_DEVICE_INFO_HID
impl Send for RID_DEVICE_INFO_HID
impl Sync for RID_DEVICE_INFO_HID
impl Unpin for RID_DEVICE_INFO_HID
impl UnwindSafe for RID_DEVICE_INFO_HID
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