#[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: USHORTTrait 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 Debug for _WINUSB_SETUP_PACKET
impl Debug for _WINUSB_SETUP_PACKET
Source§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