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