Daily Rust Tutorial 045: Overview of Smart Pointers
We continue our learning of <span>Rust</span> and today we will explore the knowledge related to smart pointers. This article will provide a simple overview. We will discuss several of the most commonly used types in the standard library: • <span>Box<T></span>, used for allocating values on the heap • <span>Rc<T></span>, a reference-counted type that allows multiple … Read more