techXcelerate

DocumentationBlog
k
  1. Docs
  2. Rust
  3. Smart Pointers

Smart Pointers

Boxt For Heap Allocation

  • Using Boxt To Store Data On The Heap
  • Enabling Recursive Types With Boxes

Deref Trait And Deref Coercion

  • Implementing Deref For Custom Types
  • Deref Coercions With Functions And Methods

The Drop Trait For Cleanup

  • Customizing Drop Behavior

Rct The Reference Counted Smart Pointer

  • Using Rct To Share Data
  • Cloning Rct Increases The Reference Count

Refcellt And The Interior Mutability Pattern

  • Enforcing Borrowing Rules At Runtime
  • Combining Rct And Refcellt
  • Reference Cycles And Memory Leaks
  • Preventing Cycles With Weakt

Shared Ownership With Rc And Arc

  • Rc And Arc Shared Ownership And Thread Safety

Smart Pointer Recap Choosing The Right Pointer

  • Comparison Of Box Rc Arc Refcell And Mutex
techXcelerate

This is a project of NTXM, provides multiple documantations, softwares and other resources to help learners worldwide.

Twitter
LinkedIn
GitHub
Email
docsblogsntxm

©2026 techXcelerate. All rights reserved.

Crafted by Nitiksh
TECHXCELERATE