#[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 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more