pub enum ThermalState {
Nominal,
Fair,
Serious,
Critical,
}Expand description
Thermal throttling state of the device.
Variants§
Nominal
Normal operating thermal conditions.
Fair
Elevated thermal conditions; active cooling (fans) engaged.
Serious
Heavy thermal throttling; frame rates capped to 60Hz.
Critical
Extreme thermal state; immediate power throttling, cap to 30Hz, disable 3D.
Trait Implementations§
Source§impl Clone for ThermalState
impl Clone for ThermalState
impl Copy for ThermalState
Source§impl Debug for ThermalState
impl Debug for ThermalState
Source§impl Default for ThermalState
impl Default for ThermalState
impl Eq for ThermalState
Source§impl Ord for ThermalState
impl Ord for ThermalState
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ThermalState
impl PartialEq for ThermalState
Source§impl PartialOrd for ThermalState
impl PartialOrd for ThermalState
impl StructuralPartialEq for ThermalState
Auto Trait Implementations§
impl Forget for ThermalState
impl Freeze for ThermalState
impl Move for ThermalState
impl RefUnwindSafe for ThermalState
impl Send for ThermalState
impl Sync for ThermalState
impl Unpin for ThermalState
impl UnsafeUnpin for ThermalState
impl UnwindSafe for ThermalState
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