pub enum Units {
Show 24 variants yottakelvin(yottakelvin), zettakelvin(zettakelvin), exakelvin(exakelvin), petakelvin(petakelvin), terakelvin(terakelvin), gigakelvin(gigakelvin), megakelvin(megakelvin), kilokelvin(kilokelvin), hectokelvin(hectokelvin), decakelvin(decakelvin), kelvin(kelvin), decikelvin(decikelvin), centikelvin(centikelvin), millikelvin(millikelvin), microkelvin(microkelvin), nanokelvin(nanokelvin), picokelvin(picokelvin), femtokelvin(femtokelvin), attokelvin(attokelvin), zeptokelvin(zeptokelvin), yoctokelvin(yoctokelvin), degree_celsius(degree_celsius), degree_fahrenheit(degree_fahrenheit), degree_rankine(degree_rankine), // some variants omitted
}
Expand description

Unit enum.

Variants

yottakelvin(yottakelvin)

Tuple Fields

yottakelvins

zettakelvin(zettakelvin)

Tuple Fields

zettakelvins

exakelvin(exakelvin)

Tuple Fields

exakelvins

petakelvin(petakelvin)

Tuple Fields

petakelvins

terakelvin(terakelvin)

Tuple Fields

terakelvins

gigakelvin(gigakelvin)

Tuple Fields

gigakelvins

megakelvin(megakelvin)

Tuple Fields

megakelvins

kilokelvin(kilokelvin)

Tuple Fields

kilokelvins

hectokelvin(hectokelvin)

Tuple Fields

hectokelvins

decakelvin(decakelvin)

Tuple Fields

decakelvins

kelvin(kelvin)

Tuple Fields

0: kelvin

kelvins

decikelvin(decikelvin)

Tuple Fields

decikelvins

centikelvin(centikelvin)

Tuple Fields

centikelvins

millikelvin(millikelvin)

Tuple Fields

millikelvins

microkelvin(microkelvin)

Tuple Fields

microkelvins

nanokelvin(nanokelvin)

Tuple Fields

nanokelvins

picokelvin(picokelvin)

Tuple Fields

picokelvins

femtokelvin(femtokelvin)

Tuple Fields

femtokelvins

attokelvin(attokelvin)

Tuple Fields

attokelvins

zeptokelvin(zeptokelvin)

Tuple Fields

zeptokelvins

yoctokelvin(yoctokelvin)

Tuple Fields

yoctokelvins

degree_celsius(degree_celsius)

Tuple Fields

degrees Celsius

degree_fahrenheit(degree_fahrenheit)

Tuple Fields

degrees Fahrenheit

degree_rankine(degree_rankine)

Tuple Fields

degrees Rankine

Implementations

Unit abbreviation.

Unit singular description.

Unit plural description.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.