Skip to content

Glossary: Software Design Patterns in Rust

Ownership

Also written: owner, by value

Rust's rule that each value has one owner, and passing it by value moves it. A consuming builder takes `self` by value, and `Rc` gives a value several owners.

Where the book teaches it

Related terms

Borrow checkerBoxRc<RefCell<..>>