🔬This is a nightly-only experimental API. (
fmt_internals
)Expand description
These are the lang items used by format_args!().
Structs
- ArgumentExperimentalThis struct represents the generic “argument” which is taken by format_args!(). It contains a function to format the given value. At compile time it is ensured that the function and the value have the correct types, and then this struct is used to canonicalize arguments to one type.
- PlaceholderExperimental
- UnsafeArgExperimentalThis struct represents the unsafety of constructing an
Arguments
. It exists, rather than an unsafe function, in order to simplify the expansion offormat_args!(..)
and reduce the scope of theunsafe
block.