Rust Tutorial for AP CS (Java) Students
  • Why Rust?
  • 1. Getting Started With Rust
  • 2. Hello World
  • 3. Guessing Game
    • Let's dig in!
    • Handling Failures
    • Compare the Guess
    • Allow Multiple Guesses with Looping
    • Handling Bad Input
    • Add a (pseudo) random number
  • 4. Common Programming Concepts in Rust
    • Variables and Constants
    • Data Types
    • Functions
    • Collections
    • Control Flow
  • 5. Ownership
    • Huh?
    • References
Powered by GitBook
On this page

4. Common Programming Concepts in Rust

Most programming languages have a lot in common and Rust is no exception. Let's cover some of the common concepts in Rust!

PreviousAdd a (pseudo) random numberNextVariables and Constants

Last updated 7 years ago