#[repr(C)]pub struct _PROCESSOR_POWER_POLICY {
pub Revision: DWORD,
pub DynamicThrottle: BYTE,
pub Spare: [BYTE; 3],
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub PolicyCount: DWORD,
pub Policy: [PROCESSOR_POWER_POLICY_INFO; 3],
}
Fields§
§Revision: DWORD
§DynamicThrottle: BYTE
§Spare: [BYTE; 3]
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§PolicyCount: DWORD
§Policy: [PROCESSOR_POWER_POLICY_INFO; 3]
Implementations§
Source§impl _PROCESSOR_POWER_POLICY
impl _PROCESSOR_POWER_POLICY
pub fn DisableCStates(&self) -> DWORD
pub fn set_DisableCStates(&mut self, val: DWORD)
pub unsafe fn DisableCStates_raw(this: *const Self) -> DWORD
pub unsafe fn set_DisableCStates_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( DisableCStates: DWORD, Reserved: DWORD, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for _PROCESSOR_POWER_POLICY
impl Clone for _PROCESSOR_POWER_POLICY
Source§fn clone(&self) -> _PROCESSOR_POWER_POLICY
fn clone(&self) -> _PROCESSOR_POWER_POLICY
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
impl Debug for _PROCESSOR_POWER_POLICY
Source§impl Ord for _PROCESSOR_POWER_POLICY
impl Ord for _PROCESSOR_POWER_POLICY
Source§fn cmp(&self, other: &_PROCESSOR_POWER_POLICY) -> Ordering
fn cmp(&self, other: &_PROCESSOR_POWER_POLICY) -> 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
impl PartialEq for _PROCESSOR_POWER_POLICY
Source§impl PartialOrd for _PROCESSOR_POWER_POLICY
impl PartialOrd for _PROCESSOR_POWER_POLICY
impl Copy for _PROCESSOR_POWER_POLICY
impl Eq for _PROCESSOR_POWER_POLICY
impl StructuralPartialEq for _PROCESSOR_POWER_POLICY
Auto Trait Implementations§
impl Freeze for _PROCESSOR_POWER_POLICY
impl RefUnwindSafe for _PROCESSOR_POWER_POLICY
impl Send for _PROCESSOR_POWER_POLICY
impl Sync for _PROCESSOR_POWER_POLICY
impl Unpin for _PROCESSOR_POWER_POLICY
impl UnwindSafe for _PROCESSOR_POWER_POLICY
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