Library / System / Runtime / FormatKind
ENUM
FormatKind
FormatKind — what one FormatArgument holds (format-argument-design.md §3).
The integer and float kinds are WIDENED: INT holds every signed width up to
64 bits as an int64, UINT every unsigned one as a uint64, FLOAT both floats
as a float64, and the argument's width remembers the source width so it
renders as written (a negative int8 in hex is two digits; a float32 keeps its
own shortest round-trip). INT128/UINT128 cannot widen to 64 bits and are
their own kinds. The text kinds and FORMATTABLE are borrowed; ABSENT is an
EMPTY handle (renders "EMPTY"); UNKNOWN is anything else (renders "[??]").
Cases 18
| Case | Description |
|---|---|
INT | — |
UINT | — |
INT128 | — |
UINT128 | — |
FLOAT | — |
BOOLEAN | — |
CHAR | — |
BINARY | — |
NUMBER | — |
COMPLEX | — |
DECIMAL128 | — |
STRING | — |
DYNAMIC_STRING | — |
BYTE_BUFFER | — |
DYNAMIC_BYTE_BUFFER | — |
FORMATTABLE | — |
ABSENT | — |
UNKNOWN | — |