time::formatting

Function 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>
Expand description

Format a number with the provided width and spaces as padding.

The sign must be written by the caller.