Represents a time interval with nanoseconds precision.
- second : Second.Offset
Second offset of the duration.
- nano : Nanosecond.Span
Nanosecond span that ranges from -999999999 and 999999999
Instances For
Instances For
Creates a new Duration out of Nanosecond.Offset.
Instances For
@[inline]
Checks if the duration is zero seconds and zero nanoseconds.
Instances For
@[implicit_reducible]
@[implicit_reducible]
@[inline]
Normalizes Second.Offset and NanoSecond.span in order to build a new Duration out of it.
Instances For
@[inline]
Adds two durations together, handling any carry-over in nanoseconds.
Instances For
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]