An introduction into Rust. Part 12: Box<T>, Rc<T> and RefCell<T>

Before we can implement most of the common data structures in Rust, we have to learn three core concepts that allow for a more fine tuned management of ownership and borrowed references. This belongs already to the more advanced features of Rust so best before reading this make sure to be good familiarized with Rust’s fundamentals, these are: Ownership, Mutability and Lifetime.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store