Struct winapi::um::winnt::CM_POWER_DATA
source · #[repr(C)]pub struct CM_POWER_DATA {
pub PD_Size: DWORD,
pub PD_MostRecentPowerState: DEVICE_POWER_STATE,
pub PD_Capabilities: DWORD,
pub PD_D1Latency: DWORD,
pub PD_D2Latency: DWORD,
pub PD_D3Latency: DWORD,
pub PD_PowerStateMapping: [DEVICE_POWER_STATE; 7],
pub PD_DeepestSystemWake: SYSTEM_POWER_STATE,
}
Fields§
§PD_Size: DWORD
§PD_MostRecentPowerState: DEVICE_POWER_STATE
§PD_Capabilities: DWORD
§PD_D1Latency: DWORD
§PD_D2Latency: DWORD
§PD_D3Latency: DWORD
§PD_PowerStateMapping: [DEVICE_POWER_STATE; 7]
§PD_DeepestSystemWake: SYSTEM_POWER_STATE
Trait Implementations§
source§impl Clone for CM_POWER_DATA
impl Clone for CM_POWER_DATA
source§fn clone(&self) -> CM_POWER_DATA
fn clone(&self) -> CM_POWER_DATA
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 moresource§impl Default for CM_POWER_DATA
impl Default for CM_POWER_DATA
source§fn default() -> CM_POWER_DATA
fn default() -> CM_POWER_DATA
Returns the “default value” for a type. Read more