Introduction
License
Contributing
1.
Getting Started
2.
Hello World
3.
Language Features
3.1.
Data Types
3.2.
Variables and Constants
3.3.
Strings
3.4.
Collection Types
3.5.
Functions
3.6.
Control Flow
3.7.
Custom Types
3.7.1.
Classes
3.7.2.
Records
3.7.3.
Structures
3.7.4.
Interfaces and Traits
3.7.5.
Enumerated Types
3.7.6.
Members
3.8.
Lambdas and Closures
3.9.
Streams and Iterators
3.10.
Pattern Matching
3.11.
Packages and Modules
3.12.
Equality
3.13.
Generics
3.14.
Polymorphism
3.15.
Inheritance
3.16.
Error Handling
3.17.
Nullability and Optionality
3.18.
Conversion and Casting
3.19.
Annotations
3.20.
Smart Pointers
3.21.
Documentation Comments
4.
Memory Management
4.1.
Ownership
4.2.
References and Lifetimes
5.
Resource Management
6.
Threading and Concurrency
6.1.
Threads
6.2.
Synchronization
6.3.
Producer-Consumer Pattern
7.
Testing
8.
Benchmarking
9.
Logging and Tracing
10.
Environment and Configuration
11.
Build Tools
12.
Project Structure
13.
Meta Programming
14.
Asynchronous Programming
Next Steps
Light
Rust
Coal
Navy
Ayu
Rust for Java Developers
Classes
Rust does not have classes. It has
structures or
struct
instead.