Skip to content

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.

Where the book teaches it

Related terms

BoxLinked listBorrow