title: How to create a null pointer in a struct?
body: <p>How do I create null pointer properties in struct like in C++? I do not quite understand how to make a pointer to an empty space in the memory.</p>
  
  <p><strong>C++</strong></p>
  
  <pre class="lang-cpp prettyprint-override"><code>struct test{
      string data;
      assocc *el;
  }
  srtuct assocc {
    T *data;
  }
  </code></pre>
  
  <p><strong>Rust</strong></p>
  
  
  
  <pre><code>struct test {
       data: String,
       ponts: *const Option&lt;assocc&lt;T&gt;&gt;,
  }
  
  struct assocc&lt;T&gt; {
      data: T,
  }
  
  impl test {
     fn new(data: String) -&gt; test {
        test {
            data: data,
            ponts: None,/*This don't work*/
        }
     }
  }
  
  impl&lt;T&gt; assocc&lt;T&gt; {
    fn new(data: T) -&gt; assocc {
        assocc { 
            data: data,
        }
    }
  }
  </code></pre>