Struct windows::Win32::Devices::Usb::USB_HUB_DEVICE_INFO
#[repr(C, packed(1))]pub struct USB_HUB_DEVICE_INFO {
pub HubDescriptor: USB_HUB_DESCRIPTOR,
pub HubNumber: u32,
pub DeviceAddress: u16,
pub HubIsSelfPowered: BOOLEAN,
pub HubIsRootHub: BOOLEAN,
pub HubCapabilities: USB_HUB_CAPABILITIES,
pub NumberOfHubPorts: u32,
pub PortInfo: [USB_HUB_PORT_INFORMATION; 1],
}
Fields§
§HubDescriptor: USB_HUB_DESCRIPTOR
§HubNumber: u32
§DeviceAddress: u16
§HubIsSelfPowered: BOOLEAN
§HubIsRootHub: BOOLEAN
§HubCapabilities: USB_HUB_CAPABILITIES
§NumberOfHubPorts: u32
§PortInfo: [USB_HUB_PORT_INFORMATION; 1]
Trait Implementations§
§impl Clone for USB_HUB_DEVICE_INFO
impl Clone for USB_HUB_DEVICE_INFO
§fn clone(&self) -> USB_HUB_DEVICE_INFO
fn clone(&self) -> USB_HUB_DEVICE_INFO
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 more§impl Default for USB_HUB_DEVICE_INFO
impl Default for USB_HUB_DEVICE_INFO
impl Copy for USB_HUB_DEVICE_INFO
Auto Trait Implementations§
impl Freeze for USB_HUB_DEVICE_INFO
impl RefUnwindSafe for USB_HUB_DEVICE_INFO
impl Send for USB_HUB_DEVICE_INFO
impl Sync for USB_HUB_DEVICE_INFO
impl Unpin for USB_HUB_DEVICE_INFO
impl UnwindSafe for USB_HUB_DEVICE_INFO
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
)