// These are notes for myself, and can be misleading since they may not represent the entire picture, and because I’m still learning Rust. C pointers vs Rust references: C Rust Can Change Value? Can Change Pointer? (To something else) const int *const ptr let ptr: &i32 ❌ No ❌ No const int *ptr let mut ptr: &i32 ❌ No 🟢 Yes int *const ptr let ptr: &mut i32 🟢 Yes ❌ No int *ptr let mut ptr: &mut i32 🟢 Yes 🟢 Yes These govern whether the pointer reference allows modifications to the referenced value, and whether the pointer itself can be modified to point to something else.