Skip to main content

compose

Macro compose 

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

Create a code template and use it right after:

  1. Write the code, use ^0 ^1 .. ^N as placeholders
  2. Write the inserts: #0^1^..^N (numbers = any code)
  3. Here is the point of it: repeat 2. if necessary