title: Move struct into a separate file without splitting into a separate module?
body: <p>I have this file hierarchy:</p>
  
  <pre class="lang-none prettyprint-override"><code>main.rs
  protocol/
  protocol/mod.rs
  protocol/struct.rs
  </code></pre>
  
  <p>In <code>struct.rs</code>:</p>
  
  <pre><code>pub struct Struct {
      members: i8
  }
  
  impl Struct {
      pub fn new() -&gt; Struct {
          Struct { 4 }
      }
  }
  </code></pre>
  
  <p>How do I access it as:</p>
  
  <pre><code>mod protocol;
  protocol::Struct::new();
  // As opposed to:
  // protocol::struct::Struct::new();
  </code></pre>
  
  <p>I've tried various combinations of <code>pub</code> <code>use</code> and <code>mod</code> but admittedly I'm poking at things blindly.</p>
  
  <p>Is it possible to split a struct (and it's <code>impl</code>) into a separate file without having to create a new mod?</p>