Struct sysinfo::Component [] [src]

pub struct Component { /* fields omitted */ }

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

Methods

impl Component
[src]

[src]

Creates a new Component with the given information.

Trait Implementations

impl ComponentExt for Component
[src]

[src]

Returns the component's temperature (in celsius degree).

[src]

Returns the maximum temperature of this component.

[src]

Returns the highest temperature before the computer halts.

[src]

Returns component's label.

impl Debug for Component
[src]

[src]

Formats the value using the given formatter.