Crate execution_time

Source

Modules§

duration_extension
format_value
round_float
singular_plural

Structs§

ExecutionTime
Measures the execution time of a code block.
Time
Represents a time duration split into days, hours, minutes, and seconds.

Enums§

Unit
Unit types with their singular/plural pairs

Traits§

DurationExtension
Trait to extend the Duration type with a method to convert it to a Time struct.
FormatFloatValue
Trait for formatting floating-point values with their units
FormatIntegerValue
Trait for formatting integer values with their units
RoundFloat
Trait for rounding floating-point numbers to a specified number of decimal places.
SingularPlural
Trait for defining singular and plural forms of words.