Module time

Module time 

Source
Available on crate feature core only.
Expand description

Low level time utilities.

Structs§

NSTDDuration
Represents a span of time.

Functions§

nstd_core_time_duration_add
Computes the addition of two time spans.
nstd_core_time_duration_get
Returns the number of seconds stored in an NSTDDuration as an NSTDFloat64.
nstd_core_time_duration_nanoseconds
Returns the number of nanoseconds in an NSTDDuration object.
nstd_core_time_duration_new
Creates a new NSTDDuration object from an NSTDFloat64 representing the duration in seconds.
nstd_core_time_duration_seconds
Returns the number of seconds in an NSTDDuration object.
nstd_core_time_duration_sub
Computes the subtraction between two time spans.

Type Aliases§

NSTDOptionalDuration
Represents an optional value of type NSTDDuration.