Stage 9.5: The Dereference Operator *
The * operator is an explicit way to dereference a reference.
Memory details:
- Because
i32is a primitive type that implements theCopytrait, the bytes of variable a on stack are copied into the bytes of variable b.
