/explore
|
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. |
|
| | | | | ||
| | | | |
poignardazur.github.io
Let's talk about pinning in the Rust programming language. |
|
| | | | | ||
| | | | |
www.ralfj.de
|
|
| | | | | ||
| | | | |
rust-embedded.github.io
[AI summary] This excerpt from The Embedded Rust Book explains the differences between standard and embedded programming environments, detailing the role of the no_std feature and how developers borrow allocation and hardware access for systems with limited resources. |
|
| | | |||