Module argument

Source
Expand description

Defines traits and types to help make arbitrary values formattable at runtime.

Structs§

ArgumentFormatter
Holds a FormatArgument and implements all the std::fmt formatting traits.
NoNamedArguments
A NamedArguments implementation that always returns None.
NoPositionalArguments
A ’PositionalArgumentsimplementation that always returnsNone`.

Traits§

ArgumentSource
A source of values to use when parsing the formatting string.
FormatArgument
A type that indicates whether its value supports a specific format, and provides formatting functions that correspond to different format types.
NamedArguments
A type that associates an argument with a name.
PositionalArguments
A type that provides a list of arguments, randomly accessible by their position.