Module fmt

Source
Description

Format-spec machinery shared by Display/Debug/LowerHex/Binary and the format macro.

Declares FmtSpec, the alignment and sign unions, and the default-spec constructor.

Data Types

Records

FmtSpec

Unions

Alignment

Horizontal placement of a rendered value within its allotted width.

SignMode

Numeric sign-rendering mode: implicit on negatives (Auto), always shown (Always), or leading space on positives (Space).

Functions

Functions

default-fmt-spec

The fill/align/sign/precision/width combination the format macro passes for every