Matthias Andreas Benkard | ac0ea8e | 2019-02-23 07:09:34 +0100 | [diff] [blame^] | 1 | = Rust Tutorial |
| 2 | Matthias Benkard <matthias.benkard@egym.de> |
| 3 | // Meta |
| 4 | :experimental: |
| 5 | :data-uri: |
| 6 | :sectnums: |
| 7 | :toc: |
| 8 | :stem: |
| 9 | :toclevels: 2 |
| 10 | :description: |
| 11 | :keywords: MI, MSW, eGym, Rust |
| 12 | // Settings |
| 13 | :icons: font |
| 14 | :source-highlighter: pygments |
| 15 | |
| 16 | These are the lecture notes for the introduction to the Rust |
| 17 | programming language held at eGym in 2019. |
| 18 | |
| 19 | |
| 20 | = Part I: The Language |
| 21 | |
| 22 | == Crates & Cargo |
| 23 | |
| 24 | == Basic Types |
| 25 | === `u8`, `i32`, `f64` |
| 26 | === Structs |
| 27 | === `impl Struct` |
| 28 | === Enums |
| 29 | |
| 30 | == References & Lifetimes |
| 31 | === `&` vs `&mut` |
| 32 | === `'static` |
| 33 | === `Box`, `Rc` |
| 34 | |
| 35 | == Polymorphism |
| 36 | === Traits |
| 37 | Ex.: `ToString` |
| 38 | |
| 39 | === Generics |
| 40 | === `dyn Trait` |
| 41 | |
| 42 | == Tidbits |
| 43 | === Clippy |
| 44 | === Lambdas |
| 45 | |
| 46 | = Part II: The Standard Library |
| 47 | |
| 48 | == Error Handling |
| 49 | |
| 50 | == More Types |
| 51 | === `String`, `&str` |
| 52 | === `Vec`, `&[]` |
| 53 | === `Fn` |
| 54 | === `Iter` |
| 55 | === `impl Trait` |
| 56 | |
| 57 | == Safe Concurrency |
| 58 | === `Sync` |
| 59 | === `Send` |
| 60 | === `Arc` |
| 61 | |