Library / System / Runtime / FormatValue
UNION
FormatValue
A format call (("$1 of $2")->format(a, b), Stdio->formatPrint, …) takes
its arguments as FormatArgument.... A developer never names this type: the
compiler builds one per argument at the call site, inside the call's own
expression, so each borrow it holds outlives the call (format-argument-
design.md). It copies a scalar or a 16-byte value and BORROWS anything wider —
a String, a byte buffer, a Formattable object — so a format call copies no
argument and allocates nothing per argument.
Fields 17
int64 iuint64 uint128 i128
uint128 u128
float64 ffloat32 gboolean bchar32 cbinary onumber ncomplex zdecimal128 dREFERENCE String s
REFERENCE DynamicString ds
REFERENCE ByteBuffer bb
REFERENCE DynamicByteBuffer dbb
REFERENCE Formattable fm