Module cpc::units [−][src]
Units, and functions you can use with them
Enums
Unit | A Unit enum. Note that it can also be |
UnitType | An enum of all possible unit types, like |
Functions
add | Return the sum of two |
convert | |
convert_to_lowest | If one of two provided |
divide | |
get_conversion_factor | Returns the conversion factor between two units. |
modulo | |
multiply | Multiply two |
pow | |
subtract | |
to_ideal_joule_unit | Convert a |
to_ideal_unit | Convert a |