#[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_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§TimeCheck: DWORD
§DemoteLimit: DWORD
§PromoteLimit: DWORD
§DemotePercent: BYTE
§PromotePercent: BYTE
§Spare: [BYTE; 2]
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
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 unsafe fn AllowDemotion_raw(this: *const Self) -> DWORD
pub unsafe fn set_AllowDemotion_raw(this: *mut Self, val: DWORD)
pub fn AllowPromotion(&self) -> DWORD
pub fn set_AllowPromotion(&mut self, val: DWORD)
pub unsafe fn AllowPromotion_raw(this: *const Self) -> DWORD
pub unsafe fn set_AllowPromotion_raw(this: *mut Self, val: DWORD)
pub fn Reserved(&self) -> DWORD
pub fn set_Reserved(&mut self, val: DWORD)
pub unsafe fn Reserved_raw(this: *const Self) -> DWORD
pub unsafe fn set_Reserved_raw(this: *mut Self, val: DWORD)
pub fn new_bitfield_1( AllowDemotion: DWORD, AllowPromotion: DWORD, Reserved: DWORD, ) -> __BindgenBitfieldUnit<[u8; 4]>
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 moreSource§impl Debug for _PROCESSOR_POWER_POLICY_INFO
impl Debug for _PROCESSOR_POWER_POLICY_INFO
Source§impl Ord for _PROCESSOR_POWER_POLICY_INFO
impl Ord for _PROCESSOR_POWER_POLICY_INFO
Source§fn cmp(&self, other: &_PROCESSOR_POWER_POLICY_INFO) -> Ordering
fn cmp(&self, other: &_PROCESSOR_POWER_POLICY_INFO) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _PROCESSOR_POWER_POLICY_INFO
impl PartialEq for _PROCESSOR_POWER_POLICY_INFO
Source§fn eq(&self, other: &_PROCESSOR_POWER_POLICY_INFO) -> bool
fn eq(&self, other: &_PROCESSOR_POWER_POLICY_INFO) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for _PROCESSOR_POWER_POLICY_INFO
impl PartialOrd for _PROCESSOR_POWER_POLICY_INFO
impl Copy for _PROCESSOR_POWER_POLICY_INFO
impl Eq for _PROCESSOR_POWER_POLICY_INFO
impl StructuralPartialEq 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