interpolate

Function interpolate 

Source
pub fn interpolate(
    stream: TokenStream,
    replacements: &HashMap<&str, &dyn ToTokens>,
) -> TokenStream
Expand description

Replace the interpolation markers in a token stream with a specific text. See this crate’s documentation for an example on how to use this.