#[repr(C)]pub struct CM_Power_Data_s {
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_STATETrait Implementations§
Source§impl Clone for CM_Power_Data_s
impl Clone for CM_Power_Data_s
Source§fn clone(&self) -> CM_Power_Data_s
fn clone(&self) -> CM_Power_Data_s
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 Debug for CM_Power_Data_s
impl Debug for CM_Power_Data_s
impl Copy for CM_Power_Data_s
Auto Trait Implementations§
impl Freeze for CM_Power_Data_s
impl RefUnwindSafe for CM_Power_Data_s
impl Send for CM_Power_Data_s
impl Sync for CM_Power_Data_s
impl Unpin for CM_Power_Data_s
impl UnwindSafe for CM_Power_Data_s
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