🦀
Search...
⌘
K
Table of Contents
0
Introduction
Part I — Foundations
1. Introduction and Motivation
Why C/C++ Developers Need Rust
2. Getting Started
3. Built-in Types
4. Control Flow
5. Data Structures
6. Enums and Pattern Matching
7. Ownership and Borrowing
Lifetimes and Borrowing Deep Dive
Smart Pointers and Interior Mutability
8. Crates and Modules
Testing Patterns
9. Error Handling
Error Handling Best Practices
10. Traits
Generics
11. From and Into Traits
12. Closures
Iterator Power Tools
13. Concurrency
14. Unsafe Rust and FFI
Part II — Deep Dives
15. no_std — Rust Without the Standard Library
Embedded Deep Dive
16. Case Studies: Real-World C++ to Rust
Case Study — Lifetime Borrowing
Part III — Best Practices & Reference
17. Best Practices
Avoiding Excessive clone()
Avoiding Unchecked Indexing
Collapsing Assignment Pyramids
Logging and Tracing Ecosystem
18. C++ → Rust Semantic Deep Dives
19. Rust Macros: From Preprocessor to Metaprogramming