Glossary: Data Structures and Algorithms in Rust
Ownership
Also written: owns, owner
The Rust rule that each value has one owner, which frees it when it goes away. A node owns the Box holding the next node, and each Category is owned by its parent.
Glossary: Data Structures and Algorithms in Rust
Also written: owns, owner
The Rust rule that each value has one owner, which frees it when it goes away. A node owns the Box holding the next node, and each Category is owned by its parent.