#[repr(C)]pub struct DEVICE_DESCRIPTOR {
pub usVendorId: USHORT,
pub usProductId: USHORT,
pub usBcdDevice: USHORT,
pub usLanguageId: USHORT,
}
Fields§
§usVendorId: USHORT
§usProductId: USHORT
§usBcdDevice: USHORT
§usLanguageId: USHORT
Trait Implementations§
Source§impl Clone for DEVICE_DESCRIPTOR
impl Clone for DEVICE_DESCRIPTOR
Source§fn clone(&self) -> DEVICE_DESCRIPTOR
fn clone(&self) -> DEVICE_DESCRIPTOR
Returns a duplicate 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 Default for DEVICE_DESCRIPTOR
impl Default for DEVICE_DESCRIPTOR
Source§fn default() -> DEVICE_DESCRIPTOR
fn default() -> DEVICE_DESCRIPTOR
Returns the “default value” for a type. Read more
impl Copy for DEVICE_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for DEVICE_DESCRIPTOR
impl RefUnwindSafe for DEVICE_DESCRIPTOR
impl Send for DEVICE_DESCRIPTOR
impl Sync for DEVICE_DESCRIPTOR
impl Unpin for DEVICE_DESCRIPTOR
impl UnwindSafe for DEVICE_DESCRIPTOR
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