Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Owner, ownership?

También llamado: owner (Rust) · ownership

Definition 6.1 University Computer Science — Year 2 · Capítulo 6 — Rust: Ownership and Borrowing

In Rust, every value has exactly one owner, the variable (or the field, or the element of a collection) that holds it. When the owner goes out of scope, the value is dropped. Ownership is this relation, and the rule that it is unique at every moment.

Leer en el capítulo →