|
You are here |
without.boats | ||
| | | | |
boats.gitlab.io
|
|
| | | | | Today I realized a new crate called pin-cell. This crate contains a type called PinCell, which is a kind of cell that is similar to RefCell, but only can allow pinned mutable references into its interior. Right now, the crate is nightly only and no-std compatible. How is the API of PinCell different from RefCell? When you call borrow_mut on a RefCell, you get a type back that implements DerefMut, allowing you to mutate the interior value. | |
| | | | |
www.ralfj.de
|
|
| | | | | ||
| | | | |
www.abubalay.com
|
|
| | | | | [AI summary] The author introduces the dioptre crate, a Rust proc-macro that enables field projection for Cell types to solve interior mutability and borrowing issues. | |
| | | | |
alexgaynor.net
|
|
| | | [AI summary] A software resilience engineer highlights the refreshing experience of using Rust and its Cargo toolchain for building, testing, and deploying software without the complexity common in other languages. | ||