FormatArguments in rustc_ast::format - Rust (original) (raw)
Struct FormatArguments
pub struct FormatArguments {
arguments: Vec<FormatArgument>,
num_unnamed_args: usize,
num_explicit_args: usize,
names: FxHashMap<Symbol, usize>,
}Expand description
The arguments to format_args!().
E.g. 1, 2, name="ferris", n=3, but also implicit captured arguments like x in format_args!("{x}").
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes