1. 1. Getting Started
    1. 1.1. Setup
    2. 1.2. Cargo
    3. 1.3. Crates Registry
  2. 2. Data and Object Types
    1. 2.1. Declarations
    2. 2.2. Scalar Types
    3. 2.3. Compound Types
      1. 2.3.1. Tuple
      2. 2.3.2. Array
    4. 2.4. Custom Types
      1. 2.4.1. Structures
      2. 2.4.2. Enums
    5. 2.5. Standard Library Types
    6. 2.6. Standard Library - Misc
  3. 3. Flow Control
    1. 3.1. if/else
    2. 3.2. loop
    3. 3.3. while
    4. 3.4. for and range
    5. 3.5. match
  4. 4. Functions
    1. 4.1. Methods
    2. 4.2. Traits
  5. 5. Ownership
    1. 5.1. RAII
    2. 5.2. Ownership and Moves
    3. 5.3. Borrowing
    4. 5.4. Lifetimes
  6. 6. Modules
  7. 7. Crates
  8. 8. Generics
  9. 9. Macros
  10. 10. Error Handling
    1. 10.1. panic
    2. 10.2. Option
    3. 10.3. Result
  11. 11. Testing
  12. 12. Unsafe Code
  13. 13. Language Interoperability
    1. 13.1. C Interop
    2. 13.2. PyO3
      1. 13.2.1. Rust from Python
      2. 13.2.2. Python from Rust
  14. ASCII Table
  15. Utility Functions

Rust Language Examples

ASCII Table

Image