Module nyx_space::time

source ·
Expand description

Re-export of hifitime

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§

  • Errors handles all oddities which may occur in this library.
  • An Enum to convert frequencies to their approximate duration, rounded to the closest nanosecond.
  • Enum of the different time systems available
  • An Enum to perform time unit conversions.

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

Type Aliases§