#[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 Reserved: DWORD,
}
Fields
TimeCheck: DWORD
DemoteLimit: DWORD
PromoteLimit: DWORD
DemotePercent: BYTE
PromotePercent: BYTE
Spare: [BYTE; 2]
Reserved: DWORD
Implementations
sourceimpl PROCESSOR_POWER_POLICY_INFO
impl PROCESSOR_POWER_POLICY_INFO
pub fn AllowDemotion(&self) -> DWORD
pub fn set_AllowDemotion(&mut self, val: DWORD)
pub fn AllowPromotion(&self) -> DWORD
pub fn set_AllowPromotion(&mut self, val: DWORD)
pub fn Reserved(&self) -> DWORD
pub fn set_Reserved(&mut self, val: DWORD)
Trait Implementations
sourceimpl Clone for PROCESSOR_POWER_POLICY_INFO
impl Clone for PROCESSOR_POWER_POLICY_INFO
sourcefn clone(&self) -> PROCESSOR_POWER_POLICY_INFO
fn clone(&self) -> PROCESSOR_POWER_POLICY_INFO
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for PROCESSOR_POWER_POLICY_INFO
Auto Trait Implementations
impl RefUnwindSafe for PROCESSOR_POWER_POLICY_INFO
impl Send for PROCESSOR_POWER_POLICY_INFO
impl Sync for PROCESSOR_POWER_POLICY_INFO
impl Unpin for PROCESSOR_POWER_POLICY_INFO
impl UnwindSafe for PROCESSOR_POWER_POLICY_INFO
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more