[][src]Struct winapi::um::powrprof::MACHINE_POWER_POLICY

#[repr(C)]
pub struct MACHINE_POWER_POLICY {
    pub Revision: ULONG,
    pub MinSleepAc: SYSTEM_POWER_STATE,
    pub MinSleepDc: SYSTEM_POWER_STATE,
    pub ReducedLatencySleepAc: SYSTEM_POWER_STATE,
    pub ReducedLatencySleepDc: SYSTEM_POWER_STATE,
    pub DozeTimeoutAc: ULONG,
    pub DozeTimeoutDc: ULONG,
    pub DozeS4TimeoutAc: ULONG,
    pub DozeS4TimeoutDc: ULONG,
    pub MinThrottleAc: UCHAR,
    pub MinThrottleDc: UCHAR,
    pub pad1: [UCHAR; 2],
    pub OverThrottledAc: POWER_ACTION_POLICY,
    pub OverThrottledDc: POWER_ACTION_POLICY,
}

Fields

Revision: ULONGMinSleepAc: SYSTEM_POWER_STATEMinSleepDc: SYSTEM_POWER_STATEReducedLatencySleepAc: SYSTEM_POWER_STATEReducedLatencySleepDc: SYSTEM_POWER_STATEDozeTimeoutAc: ULONGDozeTimeoutDc: ULONGDozeS4TimeoutAc: ULONGDozeS4TimeoutDc: ULONGMinThrottleAc: UCHARMinThrottleDc: UCHARpad1: [UCHAR; 2]OverThrottledAc: POWER_ACTION_POLICYOverThrottledDc: POWER_ACTION_POLICY

Trait Implementations

impl Copy for MACHINE_POWER_POLICY[src]

impl Clone for MACHINE_POWER_POLICY[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for MACHINE_POWER_POLICY[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]