[][src]Struct CCODE::_PROCESSOR_POWER_POLICY

#[repr(C)]pub struct _PROCESSOR_POWER_POLICY {
    pub Revision: DWORD,
    pub DynamicThrottle: BYTE,
    pub Spare: [BYTE; 3],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub PolicyCount: DWORD,
    pub Policy: [PROCESSOR_POWER_POLICY_INFO; 3],
}

Fields

Revision: DWORDDynamicThrottle: BYTESpare: [BYTE; 3]_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>PolicyCount: 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]

pub fn new_bitfield_1(
    DisableCStates: DWORD,
    Reserved: DWORD
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for _PROCESSOR_POWER_POLICY[src]

impl Copy for _PROCESSOR_POWER_POLICY[src]

impl Debug for _PROCESSOR_POWER_POLICY[src]

Auto Trait Implementations

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.