nyx_space::cosmic

Module prelude

Structs§

  • Defines generally usable durations for nanosecond precision valid for 32,768 centuries in either direction, and only on 80 bits / 10 octets.
  • Defines a nanosecond-precision Epoch.
  • Format allows formatting an Epoch with some custom arrangement of the Epoch items. This provides almost all of the options from the 1989 C standard.
  • An iterator of a sequence of evenly spaced Epochs.

Enums§

Traits§

  • A trait to automatically convert some primitives to an approximate frequency as a duration, rounded to the closest nanosecond Does not support more than 1 GHz (because max precision of a duration is 1 nanosecond)
  • A trait to automatically convert some primitives to a duration