#[repr(C, packed(1))]pub struct USB_CONFIGURATION_POWER_DESCRIPTOR {Show 13 fields
pub bLength: UCHAR,
pub bDescriptorType: UCHAR,
pub SelfPowerConsumedD0: [UCHAR; 3],
pub bPowerSummaryId: UCHAR,
pub bBusPowerSavingD1: UCHAR,
pub bSelfPowerSavingD1: UCHAR,
pub bBusPowerSavingD2: UCHAR,
pub bSelfPowerSavingD2: UCHAR,
pub bBusPowerSavingD3: UCHAR,
pub bSelfPowerSavingD3: UCHAR,
pub TransitionTimeFromD1: USHORT,
pub TransitionTimeFromD2: USHORT,
pub TransitionTimeFromD3: USHORT,
}
Fields§
§bLength: UCHAR
§bDescriptorType: UCHAR
§SelfPowerConsumedD0: [UCHAR; 3]
§bPowerSummaryId: UCHAR
§bBusPowerSavingD1: UCHAR
§bSelfPowerSavingD1: UCHAR
§bBusPowerSavingD2: UCHAR
§bSelfPowerSavingD2: UCHAR
§bBusPowerSavingD3: UCHAR
§bSelfPowerSavingD3: UCHAR
§TransitionTimeFromD1: USHORT
§TransitionTimeFromD2: USHORT
§TransitionTimeFromD3: USHORT
Trait Implementations§
Source§impl Clone for USB_CONFIGURATION_POWER_DESCRIPTOR
impl Clone for USB_CONFIGURATION_POWER_DESCRIPTOR
Source§fn clone(&self) -> USB_CONFIGURATION_POWER_DESCRIPTOR
fn clone(&self) -> USB_CONFIGURATION_POWER_DESCRIPTOR
Returns a duplicate 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 moreSource§impl Default for USB_CONFIGURATION_POWER_DESCRIPTOR
impl Default for USB_CONFIGURATION_POWER_DESCRIPTOR
Source§fn default() -> USB_CONFIGURATION_POWER_DESCRIPTOR
fn default() -> USB_CONFIGURATION_POWER_DESCRIPTOR
Returns the “default value” for a type. Read more
impl Copy for USB_CONFIGURATION_POWER_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for USB_CONFIGURATION_POWER_DESCRIPTOR
impl RefUnwindSafe for USB_CONFIGURATION_POWER_DESCRIPTOR
impl Send for USB_CONFIGURATION_POWER_DESCRIPTOR
impl Sync for USB_CONFIGURATION_POWER_DESCRIPTOR
impl Unpin for USB_CONFIGURATION_POWER_DESCRIPTOR
impl UnwindSafe for USB_CONFIGURATION_POWER_DESCRIPTOR
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