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