pub enum Units {
Show 31 variants
yottawatt(yottawatt),
zettawatt(zettawatt),
exawatt(exawatt),
petawatt(petawatt),
terawatt(terawatt),
gigawatt(gigawatt),
megawatt(megawatt),
kilowatt(kilowatt),
hectowatt(hectowatt),
decawatt(decawatt),
watt(watt),
deciwatt(deciwatt),
centiwatt(centiwatt),
milliwatt(milliwatt),
microwatt(microwatt),
nanowatt(nanowatt),
picowatt(picowatt),
femtowatt(femtowatt),
attowatt(attowatt),
zeptowatt(zeptowatt),
yoctowatt(yoctowatt),
erg_per_second(erg_per_second),
foot_pound_per_hour(foot_pound_per_hour),
foot_pound_per_minute(foot_pound_per_minute),
foot_pound_per_second(foot_pound_per_second),
horsepower(horsepower),
horsepower_boiler(horsepower_boiler),
horsepower_electric(horsepower_electric),
horsepower_metric(horsepower_metric),
horsepower_imperial(horsepower_imperial),
hydraulic_horsepower(hydraulic_horsepower),
// some variants omitted
}
Expand description
Unit enum.
Variants
yottawatt(yottawatt)
Tuple Fields
0: yottawatt
yottawatts
zettawatt(zettawatt)
Tuple Fields
0: zettawatt
zettawatts
exawatt(exawatt)
Tuple Fields
0: exawatt
exawatts
petawatt(petawatt)
Tuple Fields
0: petawatt
petawatts
terawatt(terawatt)
Tuple Fields
0: terawatt
terawatts
gigawatt(gigawatt)
Tuple Fields
0: gigawatt
gigawatts
megawatt(megawatt)
Tuple Fields
0: megawatt
megawatts
kilowatt(kilowatt)
Tuple Fields
0: kilowatt
kilowatts
hectowatt(hectowatt)
Tuple Fields
0: hectowatt
hectowatts
decawatt(decawatt)
Tuple Fields
0: decawatt
decawatts
watt(watt)
Tuple Fields
0: watt
watts
deciwatt(deciwatt)
Tuple Fields
0: deciwatt
deciwatts
centiwatt(centiwatt)
Tuple Fields
0: centiwatt
centiwatts
milliwatt(milliwatt)
Tuple Fields
0: milliwatt
milliwatts
microwatt(microwatt)
Tuple Fields
0: microwatt
microwatts
nanowatt(nanowatt)
Tuple Fields
0: nanowatt
nanowatts
picowatt(picowatt)
Tuple Fields
0: picowatt
picowatts
femtowatt(femtowatt)
Tuple Fields
0: femtowatt
femtowatts
attowatt(attowatt)
Tuple Fields
0: attowatt
attowatts
zeptowatt(zeptowatt)
Tuple Fields
0: zeptowatt
zeptowatts
yoctowatt(yoctowatt)
Tuple Fields
0: yoctowatt
yoctowatts
erg_per_second(erg_per_second)
Tuple Fields
ergs per second
foot_pound_per_hour(foot_pound_per_hour)
Tuple Fields
foot pounds-force per hour
foot_pound_per_minute(foot_pound_per_minute)
Tuple Fields
foot pounds-force per minute
foot_pound_per_second(foot_pound_per_second)
Tuple Fields
foot pounds-force per second
horsepower(horsepower)
Tuple Fields
0: horsepower
horsepower
horsepower_boiler(horsepower_boiler)
Tuple Fields
horsepower (boiler)
horsepower_electric(horsepower_electric)
Tuple Fields
horsepower (electric)
horsepower_metric(horsepower_metric)
Tuple Fields
metric horsepower
horsepower_imperial(horsepower_imperial)
Tuple Fields
horsepower (Imperial)
hydraulic_horsepower(hydraulic_horsepower)
Tuple Fields
hydraulic horsepower
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Units
impl UnwindSafe for Units
Blanket Implementations
Mutably borrows from an owned value. Read more