Struct windows_sys::Wdk::System::SystemServices::CM_POWER_DATA
#[repr(C)]pub struct CM_POWER_DATA {
pub PD_Size: u32,
pub PD_MostRecentPowerState: DEVICE_POWER_STATE,
pub PD_Capabilities: DEVICE_POWER_CAPABILITIES,
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,
}
Fields§
§PD_Size: u32
§PD_MostRecentPowerState: DEVICE_POWER_STATE
§PD_Capabilities: DEVICE_POWER_CAPABILITIES
§PD_D1Latency: u32
§PD_D2Latency: u32
§PD_D3Latency: u32
§PD_PowerStateMapping: [DEVICE_POWER_STATE; 7]
§PD_DeepestSystemWake: SYSTEM_POWER_STATE
Trait Implementations§
§impl Clone for CM_POWER_DATA
impl Clone for CM_POWER_DATA
§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 moreimpl Copy for CM_POWER_DATA
Auto Trait Implementations§
impl Freeze for CM_POWER_DATA
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)