Enum uom::si::heat_capacity::Units

source ·
#[non_exhaustive]
pub enum Units {
Show 49 variants yottagram_square_meter_per_second_squared_kelvin(yottagram_square_meter_per_second_squared_kelvin), zettagram_square_meter_per_second_squared_kelvin(zettagram_square_meter_per_second_squared_kelvin), exagram_square_meter_per_second_squared_kelvin(exagram_square_meter_per_second_squared_kelvin), petagram_square_meter_per_second_squared_kelvin(petagram_square_meter_per_second_squared_kelvin), teragram_square_meter_per_second_squared_kelvin(teragram_square_meter_per_second_squared_kelvin), gigagram_square_meter_per_second_squared_kelvin(gigagram_square_meter_per_second_squared_kelvin), megagram_square_meter_per_second_squared_kelvin(megagram_square_meter_per_second_squared_kelvin), kilogram_square_meter_per_second_squared_kelvin(kilogram_square_meter_per_second_squared_kelvin), hectogram_square_meter_per_second_squared_kelvin(hectogram_square_meter_per_second_squared_kelvin), decagram_square_meter_per_second_squared_kelvin(decagram_square_meter_per_second_squared_kelvin), gram_square_meter_per_second_squared_kelvin(gram_square_meter_per_second_squared_kelvin), decigram_square_meter_per_second_squared_kelvin(decigram_square_meter_per_second_squared_kelvin), centigram_square_meter_per_second_squared_kelvin(centigram_square_meter_per_second_squared_kelvin), milligram_square_meter_per_second_squared_kelvin(milligram_square_meter_per_second_squared_kelvin), microgram_square_meter_per_second_squared_kelvin(microgram_square_meter_per_second_squared_kelvin), nanogram_square_meter_per_second_squared_kelvin(nanogram_square_meter_per_second_squared_kelvin), picogram_square_meter_per_second_squared_kelvin(picogram_square_meter_per_second_squared_kelvin), femtogram_square_meter_per_second_squared_kelvin(femtogram_square_meter_per_second_squared_kelvin), attogram_square_meter_per_second_squared_kelvin(attogram_square_meter_per_second_squared_kelvin), zeptogram_square_meter_per_second_squared_kelvin(zeptogram_square_meter_per_second_squared_kelvin), yoctogram_square_meter_per_second_squared_kelvin(yoctogram_square_meter_per_second_squared_kelvin), yottajoule_per_kelvin(yottajoule_per_kelvin), zettajoule_per_kelvin(zettajoule_per_kelvin), exajoule_per_kelvin(exajoule_per_kelvin), petajoule_per_kelvin(petajoule_per_kelvin), terajoule_per_kelvin(terajoule_per_kelvin), gigajoule_per_kelvin(gigajoule_per_kelvin), megajoule_per_kelvin(megajoule_per_kelvin), kilojoule_per_kelvin(kilojoule_per_kelvin), hectojoule_per_kelvin(hectojoule_per_kelvin), decajoule_per_kelvin(decajoule_per_kelvin), joule_per_kelvin(joule_per_kelvin), decijoule_per_kelvin(decijoule_per_kelvin), centijoule_per_kelvin(centijoule_per_kelvin), millijoule_per_kelvin(millijoule_per_kelvin), microjoule_per_kelvin(microjoule_per_kelvin), nanojoule_per_kelvin(nanojoule_per_kelvin), picojoule_per_kelvin(picojoule_per_kelvin), femtojoule_per_kelvin(femtojoule_per_kelvin), attojoule_per_kelvin(attojoule_per_kelvin), zeptojoule_per_kelvin(zeptojoule_per_kelvin), yoctojoule_per_kelvin(yoctojoule_per_kelvin), kilojoule_per_degree_celsius(kilojoule_per_degree_celsius), joule_per_degree_celsius(joule_per_degree_celsius), millijoule_per_degree_celsius(millijoule_per_degree_celsius), btu_per_degree_fahrenheit(btu_per_degree_fahrenheit), btu_it_per_degree_fahrenheit(btu_it_per_degree_fahrenheit), boltzmann_constant(boltzmann_constant), calorie_per_kelvin(calorie_per_kelvin),
}
Expand description

Unit enum.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

yottagram_square_meter_per_second_squared_kelvin(yottagram_square_meter_per_second_squared_kelvin)

yottagram square meters per second squared kelvin

§

zettagram_square_meter_per_second_squared_kelvin(zettagram_square_meter_per_second_squared_kelvin)

zettagram square meters per second squared kelvin

§

exagram_square_meter_per_second_squared_kelvin(exagram_square_meter_per_second_squared_kelvin)

exagram square meters per second squared kelvin

§

petagram_square_meter_per_second_squared_kelvin(petagram_square_meter_per_second_squared_kelvin)

petagram square meters per second squared kelvin

§

teragram_square_meter_per_second_squared_kelvin(teragram_square_meter_per_second_squared_kelvin)

teragram square meters per second squared kelvin

§

gigagram_square_meter_per_second_squared_kelvin(gigagram_square_meter_per_second_squared_kelvin)

gigagram square meters per second squared kelvin

§

megagram_square_meter_per_second_squared_kelvin(megagram_square_meter_per_second_squared_kelvin)

megagram square meters per second squared kelvin

§

kilogram_square_meter_per_second_squared_kelvin(kilogram_square_meter_per_second_squared_kelvin)

kilogram square meters per second squared kelvin

§

hectogram_square_meter_per_second_squared_kelvin(hectogram_square_meter_per_second_squared_kelvin)

hectogram square meters per second squared kelvin

§

decagram_square_meter_per_second_squared_kelvin(decagram_square_meter_per_second_squared_kelvin)

decagram square meters per second squared kelvin

§

gram_square_meter_per_second_squared_kelvin(gram_square_meter_per_second_squared_kelvin)

gram square meters per second squared kelvin

§

decigram_square_meter_per_second_squared_kelvin(decigram_square_meter_per_second_squared_kelvin)

decigram square meters per second squared kelvin

§

centigram_square_meter_per_second_squared_kelvin(centigram_square_meter_per_second_squared_kelvin)

centigram square meters per second squared kelvin

§

milligram_square_meter_per_second_squared_kelvin(milligram_square_meter_per_second_squared_kelvin)

milligram square meters per second squared kelvin

§

microgram_square_meter_per_second_squared_kelvin(microgram_square_meter_per_second_squared_kelvin)

microgram square meters per second squared kelvin

§

nanogram_square_meter_per_second_squared_kelvin(nanogram_square_meter_per_second_squared_kelvin)

nanogram square meters per second squared kelvin

§

picogram_square_meter_per_second_squared_kelvin(picogram_square_meter_per_second_squared_kelvin)

picogram square meters per second squared kelvin

§

femtogram_square_meter_per_second_squared_kelvin(femtogram_square_meter_per_second_squared_kelvin)

femtogram square meters per second squared kelvin

§

attogram_square_meter_per_second_squared_kelvin(attogram_square_meter_per_second_squared_kelvin)

attogram square meters per second squared kelvin

§

zeptogram_square_meter_per_second_squared_kelvin(zeptogram_square_meter_per_second_squared_kelvin)

zeptogram square meters per second squared kelvin

§

yoctogram_square_meter_per_second_squared_kelvin(yoctogram_square_meter_per_second_squared_kelvin)

yoctogram square meters per second squared kelvin

§

yottajoule_per_kelvin(yottajoule_per_kelvin)

yottajoules per kelvin

§

zettajoule_per_kelvin(zettajoule_per_kelvin)

zettajoules per kelvin

§

exajoule_per_kelvin(exajoule_per_kelvin)

exajoules per kelvin

§

petajoule_per_kelvin(petajoule_per_kelvin)

petajoules per kelvin

§

terajoule_per_kelvin(terajoule_per_kelvin)

terajoules per kelvin

§

gigajoule_per_kelvin(gigajoule_per_kelvin)

gigajoules per kelvin

§

megajoule_per_kelvin(megajoule_per_kelvin)

megajoules per kelvin

§

kilojoule_per_kelvin(kilojoule_per_kelvin)

kilojoules per kelvin

§

hectojoule_per_kelvin(hectojoule_per_kelvin)

hectojoules per kelvin

§

decajoule_per_kelvin(decajoule_per_kelvin)

decajoules per kelvin

§

joule_per_kelvin(joule_per_kelvin)

joules per kelvin

§

decijoule_per_kelvin(decijoule_per_kelvin)

decijoules per kelvin

§

centijoule_per_kelvin(centijoule_per_kelvin)

centijoules per kelvin

§

millijoule_per_kelvin(millijoule_per_kelvin)

millijoules per kelvin

§

microjoule_per_kelvin(microjoule_per_kelvin)

microjoules per kelvin

§

nanojoule_per_kelvin(nanojoule_per_kelvin)

nanojoules per kelvin

§

picojoule_per_kelvin(picojoule_per_kelvin)

picojoules per kelvin

§

femtojoule_per_kelvin(femtojoule_per_kelvin)

femtojoules per kelvin

§

attojoule_per_kelvin(attojoule_per_kelvin)

attojoules per kelvin

§

zeptojoule_per_kelvin(zeptojoule_per_kelvin)

zeptojoules per kelvin

§

yoctojoule_per_kelvin(yoctojoule_per_kelvin)

yoctojoules per kelvin

§

kilojoule_per_degree_celsius(kilojoule_per_degree_celsius)

kilojoules per degree celsius

§

joule_per_degree_celsius(joule_per_degree_celsius)

joules per degree celsius

§

millijoule_per_degree_celsius(millijoule_per_degree_celsius)

millijoules per degree celsius

§

btu_per_degree_fahrenheit(btu_per_degree_fahrenheit)

British thermal units per degree Fahrenheit

§

btu_it_per_degree_fahrenheit(btu_it_per_degree_fahrenheit)

British thermal units (IT) per degree Fahrenheit

§

boltzmann_constant(boltzmann_constant)

Boltzmann constants

§

calorie_per_kelvin(calorie_per_kelvin)

calories per kelvin

Implementations§

source§

impl Units

source

pub fn abbreviation(&self) -> &'static str

Unit abbreviation.

source

pub fn singular(&self) -> &'static str

Unit singular description.

source

pub fn plural(&self) -> &'static str

Unit plural description.

Trait Implementations§

source§

impl Clone for Units

source§

fn clone(&self) -> Units

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Units

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Units

Auto Trait Implementations§

§

impl Freeze for Units

§

impl RefUnwindSafe for Units

§

impl Send for Units

§

impl Sync for Units

§

impl Unpin for Units

§

impl UnwindSafe for Units

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.