Modules
- This module implements the
TimeandTimeUnitstraits forchrono’sDateTime<Tz>, as long asFrom<DateTime<Utc>>is implemented forDateTime<Tz>. - This module provides
TimeStampandDurationtypes which implement theTimeandTimeUnitstraits respectively, for use withCounterand its methods.
Structs
- A counter stores
startandendtimes, and implementsDisplayto either show the time passed sincestart, or untilend, formatted asHH(+):MM:SS.
The timer will not go down past 00:00:00.
Enums
- Specifies whether to count
Upfrom a starting time, orDownfrom a target end time.