Expand description
Keep track of time, both in native and web platforms!
Structs§
- Duration
- A Durationtype to represent a span of time, typically used for system timeouts.
- Instant
- A measurement of a monotonically nondecreasing clock.
Opaque and useful only with Duration.
- SystemTime 
- A measurement of the system clock, useful for talking to external entities like the file system or other processes.
Functions§
- days
- Creates a Durationrepresenting the given amount of days.
- hours
- Creates a Durationrepresenting the given amount of hours.
- milliseconds
- Creates a Durationrepresenting the given amount of milliseconds.
- minutes
- Creates a Durationrepresenting the given amount of minutes.
- seconds
- Creates a Durationrepresenting the given amount of seconds.