logo

Module time::ext

source · []
Expand description

Extension traits.

Traits

Create Durations from primitive and core numeric types.

Create std::time::Durations from primitive and core numeric types.

Create std::time::Durations from primitive and core numeric types. Unless you are always expecting a std::time::Duration, you should prefer to use NumericalStdDuration for clarity.