Struct windows_sys::Win32::System::Power::CM_POWER_DATA
[−]#[repr(C)]pub struct CM_POWER_DATA {
pub PD_Size: u32,
pub PD_MostRecentPowerState: DEVICE_POWER_STATE,
pub PD_Capabilities: u32,
pub PD_D1Latency: u32,
pub PD_D2Latency: u32,
pub PD_D3Latency: u32,
pub PD_PowerStateMapping: [DEVICE_POWER_STATE; 7],
pub PD_DeepestSystemWake: SYSTEM_POWER_STATE,
}Expand description
Required features: "Win32_System_Power"
Fields
PD_Size: u32PD_MostRecentPowerState: DEVICE_POWER_STATEPD_Capabilities: u32PD_D1Latency: u32PD_D2Latency: u32PD_D3Latency: u32PD_PowerStateMapping: [DEVICE_POWER_STATE; 7]PD_DeepestSystemWake: SYSTEM_POWER_STATETrait Implementations
impl Clone for CM_POWER_DATA
impl Clone for CM_POWER_DATA
impl Copy for CM_POWER_DATA
Auto Trait Implementations
impl RefUnwindSafe for CM_POWER_DATA
impl Send for CM_POWER_DATA
impl Sync for CM_POWER_DATA
impl Unpin for CM_POWER_DATA
impl UnwindSafe for CM_POWER_DATA
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