|
You are here |
without.boats | ||
| | | | |
www.abubalay.com
|
|
| | | | | [AI summary] The blog post introduces the dioptre crate, a Rust proc-macro for struct field reflection, and discusses Cell field projection techniques to enable more flexible interior mutability in Rust programs. | |
| | | | |
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
|
|
| | | | | ||
| | | | |
simpleprogrammer.com
|
|
| | | Rust and Go are new programming languages. Each solves problems inherent in previous programming languages such as C and C++. And if you're not sure which one fits your project - check out this comparison article, in which we'll look deeper into Rust vs. Go. By the end of the comparison, you'll have a clear [...] | ||