Function pw_format::macros::generate_printf
source · pub fn generate_printf(
generator: impl PrintfFormatMacroGenerator,
format_and_args: FormatAndArgs
) -> Result<TokenStream, Error>
Expand description
Generate code for a pw_format
style proc macro that needs a printf
format string.
generate_printf
is a specialized version of generate
which works with
PrintfFormatMacroGenerator