Tour di Rust Indice dei Contenuti

[Non tradotto] Moving Ownership

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

After a move the variable in the original function can no longer be used.

Memory details: