Struct sysinfo::Component [] [src]

pub struct Component {
    pub temperature: f32,
    pub max: f32,
    pub critical: Option<f32>,
    pub label: String,
}

Struct containing a component information (temperature and name for the moment).

Fields

Temperature is in celsius.

Temperature max value.

The highest temperature before the computer halts.

Component's label.

Methods

impl Component
[src]

Creates a new Component with the given information.

Trait Implementations

impl Debug for Component
[src]

Formats the value using the given formatter.