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
impl Copy for PACKET_PARAMETERS
Auto Trait Implementations§
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