I came from C++, and try to understand what Rust reference is. According to my current understanding, I think Rust reference is more close to C++ pointer, is that right?
You can see:
&T can be converted into const T* safely
Trying to modify the value of a binding through a mut ref, you need to write:
let mut a=1;
let b = &mut a;
*b = 5;
i.e., use * to convert a reference to a value (which is same for pointer in C++).