Ben Chuanlong Du's Blog

It is never too late to learn.

Cell and RefCell in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://doc.rust-lang.org/std/cell/

https://doc.rust-lang.org/std/cell/struct.RefCell.html

Rust Cell and RefCell

Rc + RefCell is another alternative to circumvent Rust's borrow checker at compile …