Raineraineyang.hashnode.dev·Dec 20, 2023Rust Learning Note: Smart PointerThis article is a summary of Chapter 4.4 in Rust Course (course.rs) Box<T> Box is used to allocate a value in the heap, and creates a pointer on the stack pointing to the value. It has these common uses: 1 Allocate values on the heap Using Box, we ca...Discussderef