Struct winapi::um::winnt::PROCESSOR_POWER_POLICY[][src]

#[repr(C)]pub struct PROCESSOR_POWER_POLICY {
    pub Revision: DWORD,
    pub DynamicThrottle: BYTE,
    pub Spare: [BYTE; 3],
    pub BitFields: DWORD,
    pub PolicyCount: DWORD,
    pub Policy: [PROCESSOR_POWER_POLICY_INFO; 3],
}

Fields

Revision: DWORDDynamicThrottle: BYTESpare: [BYTE; 3]BitFields: DWORDPolicyCount: DWORDPolicy: [PROCESSOR_POWER_POLICY_INFO; 3]

Implementations

impl PROCESSOR_POWER_POLICY[src]

pub fn DisableCStates(&self) -> DWORD[src]

pub fn set_DisableCStates(&mut self, val: DWORD)[src]

pub fn Reserved(&self) -> DWORD[src]

pub fn set_Reserved(&mut self, val: DWORD)[src]

Trait Implementations

impl Clone for PROCESSOR_POWER_POLICY[src]

impl Copy for PROCESSOR_POWER_POLICY[src]

Auto Trait Implementations

impl RefUnwindSafe for PROCESSOR_POWER_POLICY

impl Send for PROCESSOR_POWER_POLICY

impl Sync for PROCESSOR_POWER_POLICY

impl Unpin for PROCESSOR_POWER_POLICY

impl UnwindSafe for PROCESSOR_POWER_POLICY

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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.