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

5. Ownership

Ownership is one of the most unqiue concepts within Rust. It allows Rust to be memory safe without needing a garbage collector.

PreviousControl FlowNextHuh?

Last updated 7 years ago