A variant of Vec with interior mutability
-
Updated
Jun 2, 2023 - Rust
A variant of Vec with interior mutability
AtomicRefcell for debug mode and UnsafeCell in release mode.
RefCell is a Container that Provides Interior Mutability by Moving Borrow Checking Rules from Compile-Time to Runtime, Allowing for Multiple Immutable Borrows or a Single Mutable Borrow
Add a description, image, and links to the refcell topic page so that developers can more easily learn about it.
To associate your repository with the refcell topic, visit your repo's landing page and select "manage topics."