Key to this are the & (shared/"immutable") and &mut (unique/mutable) reference types. The latter essentially has the guarantee that if x: &mut T is accessible, ...
確定! 回上一頁