#[repr(C, packed(1))]
pub struct USB_POWER_INFO { pub SystemState: WDMUSB_POWER_STATE, pub HcDevicePowerState: WDMUSB_POWER_STATE, pub HcDeviceWake: WDMUSB_POWER_STATE, pub HcSystemWake: WDMUSB_POWER_STATE, pub RhDevicePowerState: WDMUSB_POWER_STATE, pub RhDeviceWake: WDMUSB_POWER_STATE, pub RhSystemWake: WDMUSB_POWER_STATE, pub LastSystemSleepState: WDMUSB_POWER_STATE, pub CanWakeup: BOOLEAN, pub IsPowered: BOOLEAN, }
Expand description

Required features: "Win32_Devices_Usb", "Win32_Foundation"

Fields§

§SystemState: WDMUSB_POWER_STATE§HcDevicePowerState: WDMUSB_POWER_STATE§HcDeviceWake: WDMUSB_POWER_STATE§HcSystemWake: WDMUSB_POWER_STATE§RhDevicePowerState: WDMUSB_POWER_STATE§RhDeviceWake: WDMUSB_POWER_STATE§RhSystemWake: WDMUSB_POWER_STATE§LastSystemSleepState: WDMUSB_POWER_STATE§CanWakeup: BOOLEAN§IsPowered: BOOLEAN

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.