Welcome!
1.
Introduction
1.1.
Benefits of using rust
1.2.
The Hello World Program
2.
Basics of Rust
2.1.
Variables and Mutability
2.2.
Data Types
2.3.
Advanced Data Types
2.4.
Functions
2.5.
Control Flow
2.6.
Loops
2.7.
Ownership
2.8.
Borrowing
2.9.
Structs
2.10.
Enums
2.11.
Pattern Matching
3.
Common Collections
3.1.
Vector
3.2.
HashMaps
4.
Project Structuring and Error Handling
4.1.
Project Structuring
4.2.
Modularizing
4.3.
Error Handling
5.
Medium Concepts
5.1.
Generics
5.2.
Traits
5.3.
Lifetimes
5.4.
Functional Language Features
5.5.
Smart Pointers
5.6.
Concurrency
5.7.
Object Oriented Programming
6.
Advanced Concepts
6.1.
Advanced Pattern Matching
6.2.
Unsafe Rust
6.3.
Advanced Traits
6.4.
Advanced Types
6.5.
Advanced Functions and Closures
6.6.
Macros
6.7.
Miscellaneous
7.
Rust Tests
7.1.
Getting Started
7.2.
Controlling Tests
7.3.
Test Organization
7.4.
Test Driven Development
8.
Useful Snippets
8.1.
Useful Operations
8.2.
Useful Functions
8.3.
Useful Macros
9.
MASQ Rust Tools
10.
Appendix
10.1.
Installaiton
10.2.
Basic Rust Commands
10.3.
Conventions in Rust
10.4.
Documentation
10.5.
Cargo
10.6.
Editions in Rust
Light
Rust
Coal
Navy
Ayu
MASQ Rust Docs
Common Collections
The various data structures in Rust's standard library are called Collections. Refer
here
.
They can contain multiple values and collections point data stored on heap.
Most Common Collections:
Vectors
String
Hash Map