API reference
Rust API reference
Ownership, types and the Cargo toolchain
Last updated
- Identifiers
- 73
- With full guides
- 0
- Types
- 6
Topics covered
- Ownership
- Types
- Traits
- Errors
- Async
- Cargo
Class
| Name | What it does |
|---|
String | Class |
Vec | Class |
Option | Class |
Result | Class |
Box | Class |
Rc | Class |
Arc | Class |
RefCell | Class |
Cell | Class |
Mutex | Class |
RwLock | Class |
HashMap | Class |
HashSet | Class |
BTreeMap | Class |
Cow | Class |
Command
| Name | What it does |
|---|
cargo new | Command |
cargo build | Command |
cargo run | Command |
cargo test | Command |
cargo check | Command |
cargo clippy | Command |
cargo fmt | Command |
cargo add | Command |
cargo doc | Command |
cargo publish | Command |
rustup update | Command |
Method
| Name | What it does |
|---|
Option::unwrap | Method |
Option::map | Method |
Result::map_err | Method |
Vec::push | Method |
Vec::iter | Method |
String::from | Method |
Iterator::collect | Method |
Iterator::filter | Method |
Iterator::fold | Method |
Concept
| Name | What it does |
|---|
Ownership | Concept |
Borrowing | Concept |
Lifetimes | Concept |
Pattern matching | Concept |
Generics | Concept |
Enums | Concept |
async and await | Concept |
Tokio runtime | Concept |
unsafe | Concept |
Modules and crates | Concept |
The ? operator | Concept |
Closures | Concept |
Smart pointers | Concept |
Macro
| Name | What it does |
|---|
println! | Macro |
vec! | Macro |
format! | Macro |
panic! | Macro |
assert! | Macro |
assert_eq! | Macro |
dbg! | Macro |
matches! | Macro |
todo! | Macro |
derive | Macro |
Trait
| Name | What it does |
|---|
Clone | Trait |
Copy | Trait |
Debug | Trait |
Display | Trait |
Default | Trait |
Iterator | Trait |
IntoIterator | Trait |
From | Trait |
Into | Trait |
Drop | Trait |
Send | Trait |
Sync | Trait |
Deref | Trait |
Future | Trait |
Error | Trait |
Search across every package and filter by type in your dashboard.
Start learning