#[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: DWORD§DemoteLimit: DWORD§PromoteLimit: DWORD§DemotePercent: BYTE§PromotePercent: BYTE§Spare: [BYTE; 2]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>Implementations§
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)
pub fn new_bitfield_1( AllowDemotion: DWORD, AllowPromotion: DWORD, Reserved: DWORD, ) -> __BindgenBitfieldUnit<[u8; 4], u32>
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 duplicate 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 moreSource§impl Debug for _PROCESSOR_POWER_POLICY_INFO
impl Debug for _PROCESSOR_POWER_POLICY_INFO
impl 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