Borrowing and Dereferencing Operators
This lesson discusses the borrowing and dereferencing operator in Rust.
We'll cover the following...
Borrowing Operator
Borrowing means to reference the original data binding or to share the data.
References are just like pointers in C.
Two variables are involved in a borrowing relationship when the referenced variable holds a value that the referencing variable borrows. The referencing variable simply points to the memory location of the referenced variable.
The following illustration shows ...
Ask