An open API service indexing awesome lists of open source software.

https://github.com/ybda/rust_refcell_tutorial

Tutorial on RefCell in Rust.
https://github.com/ybda/rust_refcell_tutorial

refcell rust tutorial

Last synced: about 1 year ago
JSON representation

Tutorial on RefCell in Rust.

Awesome Lists containing this project

README

          

This code shows why RefCell is even a thing.
Example was taken from this awesome video: [Rust Interior Mutability - Sneaking By The Borrow Checker by Code to the Moon](https://youtu.be/HwupNf9iCJk?si=Y6OB9pfuDtM_pZ3o)

Highly recommended video on RefCell: [Smart Pointers in Rust - Interior Mutability by Let's Get Rusty](https://youtu.be/77aRH6YBKyY?si=3aWBufz5JUDB_r2Z)

[Rust Lang Book - Interior Mutability](https://doc.rust-lang.org/book/ch15-05-interior-mutability.html)