[][src]Struct CCODE::_PROCESSOR_POWER_POLICY_INFO

#[repr(C)]pub struct _PROCESSOR_POWER_POLICY_INFO {
    pub TimeCheck: DWORD,
    pub DemoteLimit: DWORD,
    pub PromoteLimit: DWORD,
    pub DemotePercent: BYTE,
    pub PromotePercent: BYTE,
    pub Spare: [BYTE; 2],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
}

Fields

TimeCheck: DWORDDemoteLimit: DWORDPromoteLimit: DWORDDemotePercent: BYTEPromotePercent: BYTESpare: [BYTE; 2]_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>

Implementations

impl _PROCESSOR_POWER_POLICY_INFO[src]

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

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

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

pub fn set_AllowPromotion(&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(
    AllowDemotion: DWORD,
    AllowPromotion: DWORD,
    Reserved: DWORD
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for _PROCESSOR_POWER_POLICY_INFO[src]

impl Copy for _PROCESSOR_POWER_POLICY_INFO[src]

impl Debug for _PROCESSOR_POWER_POLICY_INFO[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.