Rustnote
1.
Blog
1.1.
Format Strings in 1.58
2.
Basics
2.1.
Variables
2.2.
Loops
2.3.
Modules
2.4.
Errors
2.5.
Pointers
3.
Types
3.1.
Scalar
3.2.
String
3.3.
Struct
3.4.
Enum
3.5.
Array
3.6.
Tuple
3.7.
Conversion
3.8.
Advanced Types
4.
Functional
4.1.
Functions
4.2.
Closures
4.3.
Iterators
4.4.
Function Pointers
5.
Generics
5.1.
Types
5.2.
Traits
5.3.
Trait Objects
5.4.
Lifetimes
6.
Ownership
6.1.
General
6.2.
Stack and Heap
6.3.
Variables
7.
Smart Pointers
7.1.
Box
7.2.
Rc
7.3.
RefCell
7.4.
Weak
7.5.
Custom
7.6.
Pointer Traits
7.7.
Memory Leaks
8.
Concurrency
8.1.
Threads
8.2.
Channels
8.3.
Mutex and Arc
8.4.
Examples
9.
General
9.1.
Attributes
9.2.
Project Structure
9.3.
Object Orientated
9.4.
Pattern Matching
9.5.
Definitions
9.6.
Unsafe
9.7.
Compiler Speedup
10.
Macros
10.1.
Declarative
10.2.
Procedural
10.3.
Attribute
11.
Examples
11.1.
Web Server
12.
Toolchain
12.1.
Rustup
12.2.
Testing
12.3.
Cargo
12.3.1.
Documentation
12.3.2.
Debug
12.3.3.
Testing
12.3.4.
Commands
12.3.5.
Common Layout
12.3.6.
Workspace
12.3.7.
CI
12.3.8.
Publishing
13.
Crates
13.1.
egui
13.1.1.
eframe
13.2.
actix
13.3.
sqlx
13.4.
config
14.
std
14.1.
HashMap
14.2.
Vector
14.3.
fs
14.4.
env
15.
Data Structures
15.1.
Linked List
16.
Algos
16.1.
Two Sum
16.2.
Longest Substring
Palenight (default)
Light
Rust
Coal
Navy
Ayu
Rustnote
Arrays
let a: [i32; 5] = [1, 2, 3, 4, 5]; // Set 5 ints of 5 let b = [5; 5]; println!("{:?}\n{:?}", a, b);