#[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_STATE
Trait 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 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 Debug for CM_Power_Data_s
impl Debug for CM_Power_Data_s
Source§impl Ord for CM_Power_Data_s
impl Ord for CM_Power_Data_s
Source§fn cmp(&self, other: &CM_Power_Data_s) -> Ordering
fn cmp(&self, other: &CM_Power_Data_s) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CM_Power_Data_s
impl PartialEq for CM_Power_Data_s
Source§impl PartialOrd for CM_Power_Data_s
impl PartialOrd for CM_Power_Data_s
impl Copy for CM_Power_Data_s
impl Eq for CM_Power_Data_s
impl StructuralPartialEq 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