#[repr(C, packed(1))]pub struct USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR {
pub bLength: u8,
pub bDescriptorType: u8,
pub bDevCapabilityType: u8,
pub bReserved: u8,
pub bmAttributes: USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR_0,
pub bmProviderPorts: u16,
pub bmConsumerPorts: u16,
pub bcdBCVersion: u16,
pub bcdPDVersion: u16,
pub bcdUSBTypeCVersion: u16,
}
Expand description
Required features: "Win32_Devices_Usb"
Fields
bLength: u8
bDescriptorType: u8
bDevCapabilityType: u8
bReserved: u8
bmAttributes: USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR_0
bmProviderPorts: u16
bmConsumerPorts: u16
bcdBCVersion: u16
bcdPDVersion: u16
bcdUSBTypeCVersion: u16
Trait Implementations
impl Copy for USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR
Auto Trait Implementations
impl RefUnwindSafe for USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR
impl Send for USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR
impl Sync for USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR
impl Unpin for USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR
impl UnwindSafe for USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more