RefCell

中身の代入

replace


#![allow(unused)]
fn main() {
let r = RefCell::new(1);
r.replace(2);
}