Yes, you can grant internal mutability to the HashMap 's values using RefCell : ... Notably, p.name.clone() makes a full copy of p.name .
確定! 回上一頁