#[non_exhaustive]pub enum Units {
Show 61 variants
yottajoule(yottajoule),
zettajoule(zettajoule),
exajoule(exajoule),
petajoule(petajoule),
terajoule(terajoule),
gigajoule(gigajoule),
megajoule(megajoule),
kilojoule(kilojoule),
hectojoule(hectojoule),
decajoule(decajoule),
joule(joule),
decijoule(decijoule),
centijoule(centijoule),
millijoule(millijoule),
microjoule(microjoule),
nanojoule(nanojoule),
picojoule(picojoule),
femtojoule(femtojoule),
attojoule(attojoule),
zeptojoule(zeptojoule),
yoctojoule(yoctojoule),
petawatt_hour(petawatt_hour),
terawatt_hour(terawatt_hour),
gigawatt_hour(gigawatt_hour),
megawatt_hour(megawatt_hour),
kilowatt_hour(kilowatt_hour),
hectowatt_hour(hectowatt_hour),
decawatt_hour(decawatt_hour),
watt_hour(watt_hour),
milliwatt_hour(milliwatt_hour),
microwatt_hour(microwatt_hour),
petaelectronvolt(petaelectronvolt),
teraelectronvolt(teraelectronvolt),
gigaelectronvolt(gigaelectronvolt),
megaelectronvolt(megaelectronvolt),
kiloelectronvolt(kiloelectronvolt),
hectoelectronvolt(hectoelectronvolt),
decaelectronvolt(decaelectronvolt),
electronvolt(electronvolt),
hartree(hartree),
btu_it(btu_it),
btu(btu),
btu_39(btu_39),
btu_59(btu_59),
btu_60(btu_60),
calorie_it(calorie_it),
calorie(calorie),
calorie_15(calorie_15),
calorie_20(calorie_20),
calorie_it_nutrition(calorie_it_nutrition),
calorie_nutrition(calorie_nutrition),
erg(erg),
foot_poundal(foot_poundal),
foot_pound(foot_pound),
kilocalorie_it(kilocalorie_it),
kilocalorie(kilocalorie),
quad(quad),
therm_ec(therm_ec),
therm_us(therm_us),
ton_tnt(ton_tnt),
watt_second(watt_second),
}
Expand description
Unit enum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
yottajoule(yottajoule)
yottajoules
zettajoule(zettajoule)
zettajoules
exajoule(exajoule)
exajoules
petajoule(petajoule)
petajoules
terajoule(terajoule)
terajoules
gigajoule(gigajoule)
gigajoules
megajoule(megajoule)
megajoules
kilojoule(kilojoule)
kilojoules
hectojoule(hectojoule)
hectojoules
decajoule(decajoule)
decajoules
joule(joule)
joules
decijoule(decijoule)
decijoules
centijoule(centijoule)
centijoules
millijoule(millijoule)
millijoules
microjoule(microjoule)
microjoules
nanojoule(nanojoule)
nanojoules
picojoule(picojoule)
picojoules
femtojoule(femtojoule)
femtojoules
attojoule(attojoule)
attojoules
zeptojoule(zeptojoule)
zeptojoules
yoctojoule(yoctojoule)
yoctojoules
petawatt_hour(petawatt_hour)
petawatt hours
terawatt_hour(terawatt_hour)
terawatt hours
gigawatt_hour(gigawatt_hour)
gigawatt hours
megawatt_hour(megawatt_hour)
megawatt hours
kilowatt_hour(kilowatt_hour)
kilowatt hours
hectowatt_hour(hectowatt_hour)
hectowatt hours
decawatt_hour(decawatt_hour)
decawatt hours
watt_hour(watt_hour)
watt hours
milliwatt_hour(milliwatt_hour)
milliwatt hours
microwatt_hour(microwatt_hour)
microwatt hours
petaelectronvolt(petaelectronvolt)
petaelectronvolts
teraelectronvolt(teraelectronvolt)
teraelectronvolts
gigaelectronvolt(gigaelectronvolt)
gigaelectronvolts
megaelectronvolt(megaelectronvolt)
megaelectronvolts
kiloelectronvolt(kiloelectronvolt)
kiloelectronvolts
hectoelectronvolt(hectoelectronvolt)
hectoelectronvolts
decaelectronvolt(decaelectronvolt)
decaelectronvolts
electronvolt(electronvolt)
electronvolts
hartree(hartree)
hartrees
btu_it(btu_it)
British thermal units (IT)
btu(btu)
British thermal units
btu_39(btu_39)
British thermal units (39 °F)
btu_59(btu_59)
British thermal units (59 °F)
btu_60(btu_60)
British thermal units (60 °F)
calorie_it(calorie_it)
calories (IT)
calorie(calorie)
calories
calorie_15(calorie_15)
calories (15 °C)
calorie_20(calorie_20)
calories (20 °C)
calorie_it_nutrition(calorie_it_nutrition)
Calories (IT)
calorie_nutrition(calorie_nutrition)
Calories
erg(erg)
ergs
foot_poundal(foot_poundal)
foot poundals
foot_pound(foot_pound)
foot pounds-force
kilocalorie_it(kilocalorie_it)
kilocalories (IT)
kilocalorie(kilocalorie)
kilocalories
quad(quad)
quads
therm_ec(therm_ec)
therms (EC)
therm_us(therm_us)
therms
ton_tnt(ton_tnt)
tons of TNT
watt_second(watt_second)
watt seconds