Variant module

variant_struct_printer

procedure · 1 overloadsince 0.29.0Source

A Print_Style struct_printer that writes a Variant as its live payload, and passes everything else to the printer that was installed before use_variant_printing (or declines).

variant_struct_printer :: (
    builder: *String_Builder,
    any: Any,
    data: *void
) -> bool

A Print_Style struct_printer that writes a Variant as its live payload, and passes everything else to the printer that was installed before use_variant_printing (or declines).

Parameters

builder: *String_Builder
any: Any
data: *void

Returns

bool

See also