Useful Links
1. Getting Started with Rust
2. Rust Fundamentals
3. Understanding Ownership
4. Structuring Data with Structs
5. Enums and Pattern Matching
6. Managing Growing Projects
7. Common Collections
8. Error Handling
9. Generic Types, Traits, and Lifetimes
10. Writing Automated Tests
11. Functional Programming Features
12. Smart Pointers
13. Fearless Concurrency
14. Advanced Features
15. Foreign Function Interface
16. Rust Patterns and Best Practices
  1. Computer Science
  2. Programming
  3. By Language

Rust Programming

1. Getting Started with Rust
2. Rust Fundamentals
3. Understanding Ownership
4. Structuring Data with Structs
5. Enums and Pattern Matching
6. Managing Growing Projects
7. Common Collections
8. Error Handling
9. Generic Types, Traits, and Lifetimes
10. Writing Automated Tests
11. Functional Programming Features
12. Smart Pointers
13. Fearless Concurrency
14. Advanced Features
15. Foreign Function Interface
16. Rust Patterns and Best Practices
  1. Smart Pointers
    1. Box<T> Heap Allocation
      1. Heap vs Stack Allocation
        1. Box Creation and Usage
          1. Recursive Data Structures
            1. Box Deref Behavior
            2. Deref Trait
              1. Deref Coercion
                1. DerefMut Trait
                  1. Custom Smart Pointer Implementation
                    1. Deref vs AsRef
                    2. Drop Trait
                      1. Automatic Cleanup
                        1. Custom Drop Implementation
                          1. Drop Order
                            1. mem::drop Function
                              1. RAII Pattern
                              2. Rc<T> Reference Counting
                                1. Shared Ownership
                                  1. Reference Count Management
                                    1. Rc::clone vs Clone
                                      1. Weak References
                                        1. Weak<T> Type
                                          1. Breaking Reference Cycles
                                            1. Upgrading Weak References
                                          2. RefCell<T> Interior Mutability
                                            1. Runtime Borrow Checking
                                              1. borrow and borrow_mut Methods
                                                1. BorrowError and BorrowMutError
                                                  1. Interior Mutability Pattern
                                                    1. Combining Rc and RefCell
                                                      1. Shared Mutable State
                                                        1. Multiple Owners with Mutation

                                                    Previous

                                                    11. Functional Programming Features

                                                    Go to top

                                                    Next

                                                    13. Fearless Concurrency

                                                    © 2025 Useful Links. All rights reserved.

                                                    About•Bluesky•X.com