Struct windows_sys::Win32::System::Power::THERMAL_POLICY
#[repr(C)]pub struct THERMAL_POLICY {
pub Version: u32,
pub WaitForUpdate: BOOLEAN,
pub Hibernate: BOOLEAN,
pub Critical: BOOLEAN,
pub ThermalStandby: BOOLEAN,
pub ActivationReasons: u32,
pub PassiveLimit: u32,
pub ActiveLevel: u32,
pub OverThrottled: BOOLEAN,
}
Fields§
§Version: u32
§WaitForUpdate: BOOLEAN
§Hibernate: BOOLEAN
§Critical: BOOLEAN
§ThermalStandby: BOOLEAN
§ActivationReasons: u32
§PassiveLimit: u32
§ActiveLevel: u32
§OverThrottled: BOOLEAN
Trait Implementations§
§impl Clone for THERMAL_POLICY
impl Clone for THERMAL_POLICY
§fn clone(&self) -> THERMAL_POLICY
fn clone(&self) -> THERMAL_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 moreimpl Copy for THERMAL_POLICY
Auto Trait Implementations§
impl Freeze for THERMAL_POLICY
impl RefUnwindSafe for THERMAL_POLICY
impl Send for THERMAL_POLICY
impl Sync for THERMAL_POLICY
impl Unpin for THERMAL_POLICY
impl UnwindSafe for THERMAL_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)