Skip to main content

Module fmt

Module fmt 

Expand description

Allocation-aware formatting helpers.

Structs§

DisplayFn
Deferred formatting value created by display_fn.

Functions§

display_fn
Build a deferred Display value from a formatting closure.
format_with_capacity
Format args into a new string with the requested initial capacity.
try_format_into
Clear output, try to format args into it, and return the resulting string.