Function format

Source
pub unsafe fn format(
    format: *const c_char,
    args: VaList<'_, '_>,
    handler: impl FnMut(Argument<'_>) -> c_int,
) -> c_int
Expand description

Parse a format parameter and write it somewhere.

ยงSafety

VaLists are very unsafe. The passed format and args parameter must be a valid printf format string.