#[repr(C, packed(1))]
pub struct USB_INTERFACE_POWER_DESCRIPTOR { pub bLength: u8, pub bDescriptorType: u8, pub bmCapabilitiesFlags: u8, pub bBusPowerSavingD1: u8, pub bSelfPowerSavingD1: u8, pub bBusPowerSavingD2: u8, pub bSelfPowerSavingD2: u8, pub bBusPowerSavingD3: u8, pub bSelfPowerSavingD3: u8, pub TransitionTimeFromD1: u16, pub TransitionTimeFromD2: u16, pub TransitionTimeFromD3: u16, }
Expand description

Required features: "Win32_Devices_Usb"

Fields§

§bLength: u8§bDescriptorType: u8§bmCapabilitiesFlags: u8§bBusPowerSavingD1: u8§bSelfPowerSavingD1: u8§bBusPowerSavingD2: u8§bSelfPowerSavingD2: u8§bBusPowerSavingD3: u8§bSelfPowerSavingD3: u8§TransitionTimeFromD1: u16§TransitionTimeFromD2: u16§TransitionTimeFromD3: u16

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.