
Why RefCell Exists (And How It Actually Works) | Advanced Rust Part 11
To try everything Brilliant has to offer—free—for a full 30 days, visit brilliant.org/GreenTeaCoding/ . You’ll also get 20% off an annual premium subscription.
Watch the rest of this series: • Advanced Rust
New to Rust? Check out my fundamentals series:
• How to become a Rust Developer
RefCell is the prime example for interior mutability, but lots of Rustaceans don't know how and when to use it. In this video, we not only learn the usage, but also the inner workings of RefCell.
Find me elsewhere:
🐘 Mastodon: mastodon.social/@GreenTeaCoding
#rustlang #softwarearchitecture #softwaredevelopment
00:00 Intro
00:19 The Need for Interior Mutability
04:18 Introducing RefCell
06:04 The Panic Trap
07:00 Borrowing Rules at Runtime
09:43 Brilliant Sponsorship
10:59 RefCell Deep Dive
22:43 Wrap-Up and Outro
This video was sponsored by Brilliant
コメント