Struct amdgpu_sysfs::hw_mon::Temperature
source · pub struct Temperature {
pub current: Option<f32>,
pub crit: Option<f32>,
pub crit_hyst: Option<f32>,
}Expand description
Temperature reported by the GPU.
Fields§
§current: Option<f32>The current temperature.
crit: Option<f32>The maximum allowed temperature.
crit_hyst: Option<f32>The minimum allowed temperature.
Trait Implementations§
source§impl Clone for Temperature
impl Clone for Temperature
source§fn clone(&self) -> Temperature
fn clone(&self) -> Temperature
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 Temperature
impl Debug for Temperature
source§impl PartialEq<Temperature> for Temperature
impl PartialEq<Temperature> for Temperature
source§fn eq(&self, other: &Temperature) -> bool
fn eq(&self, other: &Temperature) -> bool
This method tests for
self and other values to be equal, and is used
by ==.