title: How can I overload the assignment operation in Rust?
body: <p>There are lots of operations in <a href="https://doc.rust-lang.org/std/ops/index.html" rel="noreferrer"><code>std::ops</code></a>, but there is nothing for a simple assignment.</p>
  
  <p>I'm coming from a C++ background, where there are copy constructor and assignment operator overloading that do the work for you. I need something like that in Rust.</p>