Crate astronomical_quantities
source · [−]Expand description
Predefined quantities (based on crate ‘quantities’) with units at astronomical scale.
For more information see crate quantities or its repository quantities.rs.
Structs
Duration: ‘what a clock reads’
The quantity of distance between two points in spacetime.
The quantity of matter in an astonomical body.
Magnitude of the change of an objects position per unit of time
Enums
Unit of quantity Duration.
Unit of quantity Length.
Unit of quantity Mass.
Unit of quantity Speed.
Constants
Reference unit of quantity Length (= 149597870700·m)
Reference unit of quantity Speed
Reference unit of quantity Duration (= 24·h)
10000/3329460487·M☉
Earth’s Orbital Period (≈ 365.256363004·d)
10⁹·ly
10⁹·pc
365.2425·d
60·min
365.25·d
1000000/1047348644·M☉
1000·ly
1000·m
1000·pc
299792458·m
31557600·ls
1/27068510·M☉
10⁶·ly
10⁶·pc
SI reference unit
60·s
648000/π·au
SI reference unit
a·d/(a + d)
Reference unit of quantity Mass
ls/s