We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Interior Mutability practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 8 of 8
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| Build Rc<T> and RefCell<T> from scratch | Hard | End-to-End |
|
Cell<T>: mutation by moving values in and out
|
Medium | Primitives |
|
OnceCell: write-once interior mutability
|
Medium | Primitives |
|
RefCell<T>: borrowing checked at runtime
|
Medium | Primitives |
|
| Share a log with RefCell and report borrow conflicts | Medium | Primitives |
|
| Sync: T is Sync exactly when &T is Send | Medium | Primitives |
|
UnsafeCell: the only legal path to interior mutability
|
Medium | Primitives |
|
When RefCell panics: re-entrancy and borrows held too long
|
Hard | Primitives |
|