Skip to main content

collect_fmt_specs

Function collect_fmt_specs 

Source
fn collect_fmt_specs(fmt: &str) -> Vec<(FmtSpec, usize)>
Expand description

Collect the format specifiers from a format string, returning a list of (FmtSpec, arg_index) pairs (0-based among the data args, i.e. excluding fmt).