Member predicate Generated::Format::getWidthArgument
Gets the width argument of this format, if it exists.
For example width and 1 in:
let width = 6;
println!("{:width$}", PI);
println!("{:1$}", PI, width);
Gets the width argument of this format, if it exists.
For example width and 1 in:
let width = 6;
println!("{:width$}", PI);
println!("{:1$}", PI, width);