Module util

Source

Structsยง

Decimal ๐Ÿ”’
A formatted decimal number that can be converted to a sequence of bytes.
DecimalFormatter ๐Ÿ”’
A simple formatter for converting i64 values to ASCII byte strings.
Fractional ๐Ÿ”’
A formatted fractional number that can be converted to a sequence of bytes.
FractionalFormatter ๐Ÿ”’
A simple formatter for converting fractional components to ASCII byte strings.

Functionsยง

fractional_time_to_duration ๐Ÿ”’
Like fractional_time_to_span, but just converts the fraction of the given unit to a signed duration.
fractional_time_to_span ๐Ÿ”’
This routine returns a span based on the given with fractional time applied to it.
parse_temporal_fraction ๐Ÿ”’
Parses an optional fractional number from the start of input.