Ideomatic Rust
1.
Essentials
❱
1.1.
Core Concepts
❱
1.1.1.
Functions
1.1.2.
Flow Control
1.1.3.
Pattern Matching
1.1.4.
Closures
1.1.5.
Ownership
1.1.6.
Borrow
1.1.7.
Macros
1.1.8.
Concurency
1.1.9.
Error Handling
1.1.10.
Lifetime
1.1.11.
Modules
1.1.12.
Crates
1.2.
Types
❱
1.2.1.
Scalar Types
1.2.2.
Compound Types
1.2.3.
Traits
1.2.4.
Structs
1.2.5.
Enums
1.2.6.
Structs vs Enums
1.2.7.
Generics
1.2.8.
Type Alias
1.2.9.
Pointers
1.2.10.
Vectors
1.3.
Operators
❱
1.3.1.
Arithmetic Operations
1.3.2.
Comparison Operators
1.3.3.
Logical Operators
1.3.4.
Bitwise Operators
1.3.5.
Assignment Operators
1.4.
Packaging
❱
1.4.1.
![no_std] Attribute
1.4.2.
Requiring Modules
1.4.3.
Package Names
1.4.4.
Tag your Crate
1.4.5.
Feature Attribute
1.4.6.
Features Compilation
1.5.
Standard Library
❱
1.5.1.
RefCell Struct
1.5.2.
Rc Type
1.5.3.
Self Type
1.5.4.
Self vs self
1.5.5.
self Keyword
1.5.6.
imp Keyword
1.5.7.
new Keyword
1.5.8.
Some Keyword
1.5.9.
Option Enum
1.5.10.
#[derive(Debug)]
2.
Patterns
❱
2.1.
Creational
❱
2.1.1.
Singleton
2.1.2.
Factory Method
2.1.3.
Abstract Factory
2.1.4.
Builder
2.1.5.
Prototype
2.2.
Behavioral
❱
2.2.1.
Observer
2.2.2.
Strategy
2.2.3.
Command
2.2.4.
Chain of Responsibility
2.2.5.
Iterator
2.2.6.
Mediator
2.2.7.
Visitor
2.3.
Structural
❱
2.3.1.
Adapter
2.3.2.
Bridge
2.3.3.
Composite
2.3.4.
Decorator
2.3.5.
Facade
2.3.6.
Flyweight
2.3.7.
Proxy
3.
Algorithms
❱
3.1.
Sorting
❱
3.1.1.
Buble Sort
3.1.2.
Quick Sort
3.1.3.
Merge Sort
3.1.4.
Heap Sort
3.1.5.
Counting Sort
3.2.
Searching
❱
3.2.1.
Linear Search
3.2.2.
Binary Search
3.2.3.
DFS
3.2.4.
BFS
3.3.
Graph
❱
3.3.1.
Dijkstra’s Algorithm
3.3.2.
Kruskal’s Algorithm
3.3.3.
A* Algorithm
3.3.4.
Floyd-Warshall Algorithm
3.4.
Dynamic Programming
❱
3.4.1.
Knapsack Problem
3.4.2.
Longest Common Subsequence
3.4.3.
Matrix Chain Multiplication
3.4.4.
Fibonacci Sequence
3.5.
Cryptography
❱
3.5.1.
RSA
3.5.2.
AES
3.5.3.
SHA-256
3.5.4.
Diffie-Hellman
3.5.5.
Bcrypt
Light
Rust
Coal
Navy
Ayu
Idiomatic Rust Snippets
Essentials
This section covers varios aspects of Rust programming language from basic to some complex topics.