Struct windows_sys::Win32::Devices::Usb::USB_HUB_PORT_INFORMATION
#[repr(C, packed(1))]pub struct USB_HUB_PORT_INFORMATION {
pub DeviceState: USB_DEVICE_STATE,
pub PortNumber: u16,
pub DeviceAddress: u16,
pub ConnectionIndex: u32,
pub ConnectionStatus: USB_CONNECTION_STATUS,
}
Fields§
§DeviceState: USB_DEVICE_STATE
§PortNumber: u16
§DeviceAddress: u16
§ConnectionIndex: u32
§ConnectionStatus: USB_CONNECTION_STATUS
Trait Implementations§
§impl Clone for USB_HUB_PORT_INFORMATION
impl Clone for USB_HUB_PORT_INFORMATION
§fn clone(&self) -> USB_HUB_PORT_INFORMATION
fn clone(&self) -> USB_HUB_PORT_INFORMATION
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 USB_HUB_PORT_INFORMATION
Auto Trait Implementations§
impl Freeze for USB_HUB_PORT_INFORMATION
impl RefUnwindSafe for USB_HUB_PORT_INFORMATION
impl Send for USB_HUB_PORT_INFORMATION
impl Sync for USB_HUB_PORT_INFORMATION
impl Unpin for USB_HUB_PORT_INFORMATION
impl UnwindSafe for USB_HUB_PORT_INFORMATION
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
)