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...derefAdd a thoughtful commentNo comments yetBe the first to start the conversation.