#[repr(C, packed(1))]pub struct USB_DESCRIPTOR_REQUEST {
pub ConnectionIndex: ULONG,
pub SetupPacket: USB_DESCRIPTOR_REQUEST_SetupPacket,
pub Data: [UCHAR; 0],
}
Fields§
§ConnectionIndex: ULONG
§SetupPacket: USB_DESCRIPTOR_REQUEST_SetupPacket
§Data: [UCHAR; 0]
Trait Implementations§
Source§impl Clone for USB_DESCRIPTOR_REQUEST
impl Clone for USB_DESCRIPTOR_REQUEST
Source§fn clone(&self) -> USB_DESCRIPTOR_REQUEST
fn clone(&self) -> USB_DESCRIPTOR_REQUEST
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 USB_DESCRIPTOR_REQUEST
impl Default for USB_DESCRIPTOR_REQUEST
Source§fn default() -> USB_DESCRIPTOR_REQUEST
fn default() -> USB_DESCRIPTOR_REQUEST
Returns the “default value” for a type. Read more
impl Copy for USB_DESCRIPTOR_REQUEST
Auto Trait Implementations§
impl Freeze for USB_DESCRIPTOR_REQUEST
impl RefUnwindSafe for USB_DESCRIPTOR_REQUEST
impl Send for USB_DESCRIPTOR_REQUEST
impl Sync for USB_DESCRIPTOR_REQUEST
impl Unpin for USB_DESCRIPTOR_REQUEST
impl UnwindSafe for USB_DESCRIPTOR_REQUEST
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