title: why can't we declare functions inside a structure?
body: <p>I read plenty of questions regarding </p>
  
  <blockquote>
    <p><code>declaration of functions inside structure?</code></p>
  </blockquote>
  
  <p>But I did not get a satisfactory answer.</p>
  
  <p>My question is not about <code>whether functions can be declared inside a structure or not?</code>  </p>
  
  <p>Instead, my question is</p>
  
  <blockquote>
    <p><strong><code>WHY function can not be declared inside structure?</code></strong></p>
  </blockquote>