Function time::formatting::format_number_pad_space
source · pub(crate) fn format_number_pad_space<const WIDTH: u8>(
output: &mut impl Write,
value: impl Integer + DigitCount + Copy
) -> Result<usize, Error>
Available on crate feature
formatting
only.Expand description
Format a number with the provided width and spaces as padding.
The sign must be written by the caller.