Function time::formatting::format_number

source ยท
pub(crate) fn format_number<const WIDTH: u8>(
    output: &mut impl Write,
    value: impl Integer + DigitCount + Copy,
    padding: Padding,
) -> Result<usize, Error>
Expand description

Format a number with the provided padding and width.

The sign must be written by the caller.