title: How do I initialize this array of arrays within a struct?
body: <p>I'm trying to learn rust from the tutorial. I thought Conway's game of life would be a good place to start.</p>
  
  <p>I'm having trouble understanding how to write this Grid::new() fn.</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>enum Cell {
      alive, dead
  }
  impl Cell {
      fn new() -&gt; Cell {
          alive
      }
  struct Grid {
      priv inner: [ [Cell, .. GRID_SIZE], .. GRID_SIZE],
  }
  
  impl Grid {
      fn new() {
          Grid { inner: ???? }
      }
  }
  </code></pre>
  
  <p>...</p>
  
  <pre><code>fn main () {
      let grid = Grid::new(); // Stack allocated grid (internal stack allocad array)
  }
  </code></pre>
  
  <p>What I want is for the grid to be initialized with cells all of the value 'alive'. </p>