Module convert

Source
Expand description

Conversion between units of time.

Modulesยง

sealed ๐Ÿ”’

Macrosยง

impl_per ๐Ÿ”’
Declare and implement Per for all relevant types. Identity implementations are automatic.
stringify_outputs ๐Ÿ”’
Given the list of types, stringify them as a list.

Structsยง

Day
A unit of time representing exactly one day.
Hour
A unit of time representing exactly one hour.
Microsecond
A unit of time representing exactly one microsecond.
Millisecond
A unit of time representing exactly one millisecond.
Minute
A unit of time representing exactly one minute.
Nanosecond
A unit of time representing exactly one nanosecond.
Second
A unit of time representing exactly one second.
Week
A unit of time representing exactly one week.

Functionsยง

multiple_of_value ๐Ÿ”’