Andrew Kelley 7e2a26c0c4 std.io.Writer.printValue: rework logic
Alignment and fill options only apply to numbers.

Rework the implementation to mainly branch on the format string rather
than the type information. This is more straightforward to maintain and
more straightforward for comptime evaluation.

Enums support being printed as decimal, hexadecimal, octal, and binary.

`formatInteger` is another possible format method that is
unconditionally called when the value type is struct and one of the
integer-printing format specifiers are used.
2025-07-07 22:43:53 -07:00
..
2025-07-07 22:43:51 -07:00
2025-07-07 22:43:52 -07:00
2025-07-07 22:43:52 -07:00
2025-07-07 22:43:51 -07:00
2025-07-07 22:43:52 -07:00
2025-07-07 22:43:51 -07:00