Module util
Source
- 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. - DurationUnits π
- A container for holding a partially parsed duration.
- 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.
- duration_unit_value π
- Returns the given parsed value, interpreted as the given unit, as a
SignedDuration. - fractional_duration π
- Converts the fraction of the given unit to a signed duration.
- 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 unit and value with
fractional time applied to it.
- parse_temporal_fraction π
- Parses an optional fractional number from the start of
input.