3 [Rust][rust] is a modern systems programming language focusing on safety, speed,
4 and concurrency. It accomplishes these goals by being memory safe without using
7 Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust
8 concepts and standard libraries. To get even more out of these examples, don't forget
9 to [install Rust locally][install] and check out the [official docs][std].
10 Additionally for the curious, you can also [check out the source code for this site][home].
14 - [Hello World](hello.md) - Start with a traditional Hello World program.
16 - [Primitives](primitives.md) - Learn about signed integers, unsigned integers and other primitives.
18 - [Custom Types](custom_types.md) - `struct` and `enum`.
20 - [Variable Bindings](variable_bindings.md) - mutable bindings, scope, shadowing.
22 - [Types](types.md) - Learn about changing and defining types.
24 - [Conversion](conversion.md) - Convert between different types, such as strings, integers, and floats.
26 - [Expressions](expression.md) - Learn about Expressions & how to use them.
28 - [Flow of Control](flow_control.md) - `if`/`else`, `for`, and others.
30 - [Functions](fn.md) - Learn about Methods, Closures and Higher Order Functions.
32 - [Modules](mod.md) - Organize code using modules
34 - [Crates](crates.md) - A crate is a compilation unit in Rust. Learn to create a library.
36 - [Cargo](cargo.md) - Go through some basic features of the official Rust package management tool.
38 - [Attributes](attribute.md) - An attribute is metadata applied to some module, crate or item.
40 - [Generics](generics.md) - Learn about writing a function or data type which can work for multiple types of arguments.
42 - [Scoping rules](scope.md) - Scopes play an important part in ownership, borrowing, and lifetimes.
44 - [Traits](trait.md) - A trait is a collection of methods defined for an unknown type: `Self`
46 - [Macros](macros.md) - Macros are a way of writing code that writes other code, which is known as metaprogramming.
48 - [Error handling](error.md) - Learn Rust way of handling failures.
50 - [Std library types](std.md) - Learn about some custom types provided by `std` library.
52 - [Std misc](std_misc.md) - More custom types for file handling, threads.
54 - [Testing](testing.md) - All sorts of testing in Rust.
56 - [Unsafe Operations](unsafe.md) - Learn about entering a block of unsafe operations.
58 - [Compatibility](compatibility.md) - Handling Rust's evolution and potential compatibility issues.
60 - [Meta](meta.md) - Documentation, Benchmarking.
63 [rust]: https://www.rust-lang.org/
64 [install]: https://www.rust-lang.org/tools/install
65 [std]: https://doc.rust-lang.org/std/
66 [home]: https://github.com/rust-lang/rust-by-example