#[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: DWORDImplementations§
Source§impl 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§
Source§impl Clone for PROCESSOR_POWER_POLICY_INFO
 
impl Clone for PROCESSOR_POWER_POLICY_INFO
Source§fn clone(&self) -> PROCESSOR_POWER_POLICY_INFO
 
fn clone(&self) -> PROCESSOR_POWER_POLICY_INFO
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreimpl Copy for PROCESSOR_POWER_POLICY_INFO
Auto Trait Implementations§
impl Freeze for PROCESSOR_POWER_POLICY_INFO
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§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more