| coverY | 0 |
|---|---|
| description | A few important data structure types and points about data with Rust. |
Rust is known for a feature called ownership.
Ownership offers memory-safe guarantees without needing a garbage collector.
Ownership rules:
- Each value in Rust has a variable that’s called its owner.
- There can only be one owner at a time.
- When the owner goes out of scope, the value will be dropped.
In the context of Rust functions, Ownership is easier to contextualize.