quote_format

Macro quote_format 

Source
quote_format!() { /* proc-macro */ }
Expand description

Build a Cairo TokenStream from a string literal with format placeholders.

Unlike quote! macro, this macro bypasses Rust’s parser, allowing Cairo-specific syntax that is not valid Rust syntax.

Unlike quote! macro, this macro does not support token #token interpolation. Placeholders are substituted with arguments implementing ToPrimitiveTokenStream. Supported format placeholders are: {}, {0}, {1}, etc.