#[repr(C, packed(1))]pub struct WINUSB_SETUP_PACKET {
pub RequestType: UCHAR,
pub Request: UCHAR,
pub Value: USHORT,
pub Index: USHORT,
pub Length: USHORT,
}
Fields§
§RequestType: UCHAR
§Request: UCHAR
§Value: USHORT
§Index: USHORT
§Length: USHORT
Trait Implementations§
Source§impl Clone for WINUSB_SETUP_PACKET
impl Clone for WINUSB_SETUP_PACKET
Source§fn clone(&self) -> WINUSB_SETUP_PACKET
fn clone(&self) -> WINUSB_SETUP_PACKET
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 WINUSB_SETUP_PACKET
impl Default for WINUSB_SETUP_PACKET
Source§fn default() -> WINUSB_SETUP_PACKET
fn default() -> WINUSB_SETUP_PACKET
Returns the “default value” for a type. Read more
impl Copy for WINUSB_SETUP_PACKET
Auto Trait Implementations§
impl Freeze for WINUSB_SETUP_PACKET
impl RefUnwindSafe for WINUSB_SETUP_PACKET
impl Send for WINUSB_SETUP_PACKET
impl Sync for WINUSB_SETUP_PACKET
impl Unpin for WINUSB_SETUP_PACKET
impl UnwindSafe for WINUSB_SETUP_PACKET
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