Stage 6.9: Dereferencing
Using &mut
references, you can set the owner's value using the *
operator.
You can also get a copy of an owned value using the *
operator (if the value can be
copied - we will discuss copyable types in later chapters).
Further information: