Rust Gotchas – Copy and Clone

  • July 29, 2021
  • Rust

Rust has two central concepts: Borrowing and ownership. In very simple terms, Borrowing conceptually means access to the data through reference, be it mutable or immutable. This is implemented via & and &mut. For a more exhastive treatment, please refer the docs. Again, in very simple terms, Ownership conceptually means accessing without & (i.e. without […]