Struct winapi::um::winnt::PROCESSOR_POWER_POLICY_INFO [−][src]
Fields
TimeCheck: DWORD
DemoteLimit: DWORD
PromoteLimit: DWORD
DemotePercent: BYTE
PromotePercent: BYTE
Spare: [BYTE; 2]
Reserved: DWORD
Implementations
impl PROCESSOR_POWER_POLICY_INFO
[src]
pub fn AllowDemotion(&self) -> DWORD
[src]
pub fn set_AllowDemotion(&mut self, val: DWORD)
[src]
pub fn AllowPromotion(&self) -> DWORD
[src]
pub fn set_AllowPromotion(&mut self, val: DWORD)
[src]
pub fn Reserved(&self) -> DWORD
[src]
pub fn set_Reserved(&mut self, val: DWORD)
[src]
Trait Implementations
impl Clone for PROCESSOR_POWER_POLICY_INFO
[src]
fn clone(&self) -> PROCESSOR_POWER_POLICY_INFO
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PROCESSOR_POWER_POLICY_INFO
[src]
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,