You will learn interior mutability in Rust with the custom implementation of Cell.
Chapters:
0:00 Intro
0:39 Plan
1:13 Tests
1:52 MyCell
2:07 MyUnsafeCell
2:25 impl MyUnsafeCell
2:54 impl MyCell
3:41 Explanation
4:08 Deref
4:35 Fix Tests
5:12 Memory Details
6:22 Proof with Structs
6:49 Proof Tests
7:45 Ending
#rust #learn #interior #mutability #custom #reference #pointers #rustlang #tutorial #stack #heap #memory #struct #const #mutable #lifetimes #lifetime
Ещё видео!