title: Macro that declare variables in Rust?
body: <p>In C its possible to write a macro that declares variables, as follows:</p>
  
  <pre><code>#define VARS(a, b, c) \
      int a, b, c;
  </code></pre>
  
  <p>Of course this isn't something you'd typically want to do.</p>
  
  <p>In the actual example I'm looking to get working its not quite so simple.</p>
  
  <pre><code>#define VARS(data, stride, a, b, c) \
      MyStruct *a = &amp;data.array[0],            \
      MyStruct *b = &amp;data.array[1 * (stride)], \
      MyStruct *c = &amp;data.array[2 * (stride)];
  </code></pre>
  
  <p>However the exact details of assignment shouldn't matter for the purpose of this question.</p>
  
  <p>Is it possible to write a macro like this in Rust?
  If so how would this be written?</p>