Enum ur20::TemperatureUnit [] [src]

pub enum TemperatureUnit {
    Celsius,
    Fahrenheit,
    Kelvin,
}

The unit a temperature value is represented in.

Variants

Trait Implementations

impl Debug for TemperatureUnit
[src]

[src]

Formats the value using the given formatter.

impl Clone for TemperatureUnit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TemperatureUnit
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for TemperatureUnit
[src]