title: How can I unpack (destructure) elements from a vector?
body: <p>I am currently doing the following:</p>
  
  <pre><code>let line_parts = line.split_whitespace().take(3).collect::&lt;Vec&lt;&amp;str&gt;&gt;();
  let ip = line_parts[0];
  let bytes = line_parts[1];
  let int_number = line_parts[2];
  </code></pre>
  
  <p>Is it possible to do something like this?</p>
  
  <pre><code>let [ip, bytes, int_number] = line.split_whitespace().take(3).collect();
  </code></pre>
  
  <p>I'm noticed various references to vector destructuring on some sites but the official docs don't seem to mention it.</p>