1. Home
  2. Preface
  3. 1. Meet the Computer
    1. 1.1. The Computer's Brain (Hardware vs Software)
    2. 1.2. The File System and the Command Line
    3. 1.3. The Language of Machines: Binary Basics
  4. 2. Welcome to Rust
    1. 2.1. Installing Rust
    2. 2.2. Hello, Rustacean!
    3. 2.3. Variables: Your Code's Memory
    4. 2.4. Data Types: The Building Blocks of Rust
    5. 2.5. Functions: The Magic of Reusable Code
    6. 2.6. Control Flow: Making Decisions in Code
    7. 2.7. Loops: Repeating Actions in Rust
  5. 3. Rustacean Thinking
    1. 3.1. Ownership: The Heart of Rust
    2. 3.2. Borrowing and References: Sharing Without Copying
    3. 3.3. The Power of Mutability
    4. 3.4. Error Handling: Keeping Your Code Safe
    5. 3.5. Structs: Custom Data Types in Rust
    6. 3.6. Enums: Defining Your Own Types
    7. 3.7. Pattern Matching: A Powerful Tool
  6. 📚 Resources
  7. 📜 License

Rust for Kids

Open slides

Structs: Custom Data Types in Rust