1. Introduction
  2. Language, Standard Library, and Code Organization
  3. Language
    ❱
    1. Rust Installation and First Steps
    2. Entry Points
    3. Data Types
    4. Variables
    5. Constants and Statics
    6. Ownership and Borrowing
    7. Lifetimes
    8. Slices
    9. Control Flow
    10. Pattern Matching
    11. Functions
    12. Closures
    13. Structs
    14. Enums
    15. Traits
    16. impl Trait
    17. Trait Objects
    18. Iterators
    19. Generics
    20. Attributes
    21. Macros
  4. Standard Library
    ❱
    1. Option
    2. Result
    3. Default
    4. Equality and Ordering
    5. Smart Pointers
      ❱
      1. Box
      2. Reference Counting
      3. Interior Mutability
      4. Clone-on-Write (Cow)
      5. Pin
    6. Drop
    7. Conversion Traits
    8. AsRef
    9. Borrow
    10. Automatic Trait Derivation
    11. Overloading Operators
    12. Dynamic Typing
  5. Code Organization
    ❱
    1. Modules and Paths
    2. Visibility
    3. use Keyword
    4. Dependencies
    5. Code Organization by Project Type and Size
    6. Naming Conventions
  6. Code Examples by Category
  7. Algorithms
    ❱
    1. Generate Random Values
    2. Sort a Vector
  8. Data Structures
    ❱
    1. Strings
    2. Vector
    3. HashMap
    4. Other Maps
    5. B-Trees
    6. Stacks and Queues
    7. Binary Heaps
    8. Linked Lists
    9. Bitfields
    10. Graph
    11. Heapless Data Structures
    12. Stack-allocated Arrays
    13. UUIDs
  9. File System
    ❱
    1. File Reading & Writing
    2. Directories
    3. Directory Traversal
    4. File Watching
    5. Temporary Files and Directories
    6. User Directories
  10. Mathematics
    ❱
    1. Linear Algebra
    2. Trigonometry
    3. Complex Numbers
    4. Statistics
    5. Additional Numeric Types
  11. Resources
  12. Crate Selection
    ❱
    1. State of the Rust Ecosystem
  13. Links
    ❱
    1. Rust Cheat Sheets
    2. Learning
    3. Books
    4. Blogs and Forums
    5. Example Code
    6. Videos
    7. Meetings
    8. Companies
  14. Contributing
  15. Contributing
    ❱
    1. Topics of Interest
    2. Repository Structure
    3. Development Environment Setup
    4. Editing
    5. Book Preprocessors
    6. Dev Containers and Docker
    7. API Documentation
    8. Crate Publication
  16. Appendices
  17. Index of Examples
  18. Word Index
  19. Crates (Alphabetic)
  20. Crates (by Category)
  21. Thanks

The Rust How-to Book