Also see this newer thread on the same topic.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
[Pre-RFC] Add a new offset_of macro to core::mem
|
134 | 13840 | December 22, 2024 | |
| Get the offset of a field from the base of a struct | 9 | 7468 | December 22, 2024 | |
| Pre-Pre-RFC: Field offsets | 7 | 1791 | March 25, 2019 | |
|
Raw pointer ergonomics
|
22 | 2102 | May 3, 2023 | |
| Byte-wise fat pointer arithmetic | 17 | 2165 | October 17, 2020 |