Struct windows_sys::Win32::Devices::Usb::PACKET_PARAMETERS
#[repr(C, packed(1))]pub struct PACKET_PARAMETERS {
pub DeviceAddress: u8,
pub EndpointAddress: u8,
pub MaximumPacketSize: u16,
pub Timeout: u32,
pub Flags: u32,
pub DataLength: u32,
pub HubDeviceAddress: u16,
pub PortTTNumber: u16,
pub ErrorCount: u8,
pub Pad: [u8; 3],
pub UsbdStatusCode: i32,
pub Data: [u8; 4],
}
Fields§
§DeviceAddress: u8
§EndpointAddress: u8
§MaximumPacketSize: u16
§Timeout: u32
§Flags: u32
§DataLength: u32
§HubDeviceAddress: u16
§PortTTNumber: u16
§ErrorCount: u8
§Pad: [u8; 3]
§UsbdStatusCode: i32
§Data: [u8; 4]
Trait Implementations§
§impl Clone for PACKET_PARAMETERS
impl Clone for PACKET_PARAMETERS
§fn clone(&self) -> PACKET_PARAMETERS
fn clone(&self) -> PACKET_PARAMETERS
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 moreimpl Copy for PACKET_PARAMETERS
Auto Trait Implementations§
impl Freeze for PACKET_PARAMETERS
impl RefUnwindSafe for PACKET_PARAMETERS
impl Send for PACKET_PARAMETERS
impl Sync for PACKET_PARAMETERS
impl Unpin for PACKET_PARAMETERS
impl UnwindSafe for PACKET_PARAMETERS
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)