---
title: "Discussion on \"Rust Learning Note: Smart Pointer\" | Hashnode"
description: "Discussion on \"Rust Learning Note: Smart Pointer\". This article is a summary of Chapter 4.4 in Rust Course (course.rs)\nBox<T>\nBox 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:\n1 Allocate values on the heap\nUsing Box, we ca..."
url: "https://hashnode.com/posts/rust-learning-note-smart-pointer/65832d57c6cc9058bf27cd9d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rust Learning Note: Smart Pointer](https://raine-yang.com/rust-learning-note-smart-pointer?utm_source=hashnode&utm_medium=feed)

This 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...

Dec 20, 2023 · 9 min read · raine-yang.com  
Read the article

-   [#deref](https://hashnode.com/tag/deref)
-   [#rc](https://hashnode.com/tag/rc)
-   [#refcell](https://hashnode.com/tag/refcell)
-   [#rust](https://hashnode.com/tag/rust)
-   [#smart-pointer](https://hashnode.com/tag/smart-pointer)
-   [#box](https://hashnode.com/tag/box)
-   [#drop](https://hashnode.com/tag/drop)
-   [#arc](https://hashnode.com/tag/arc)
-   [#cell](https://hashnode.com/tag/cell)

## Written by

[Raine](https://hashnode.com/@RaineYang)

@RaineYang

  
[View profile](https://hashnode.com/@RaineYang)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
