I have a few nested enums that are bigger than expected, and it's not enough of a problem that I need to look into it, but for curiosity's sake, it would be nice to know where each byte comes from.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How can I view the memory layout of a type? | 4 | 3258 | July 4, 2019 | |
|
Printing layout of a type
|
6 | 897 | April 7, 2023 | |
| Compact memory layout for struct containing enum | 7 | 1042 | September 8, 2019 | |
|
Obtain type layout information at compile time
|
5 | 1367 | January 29, 2023 | |
| [Solved] If Rust reorders structs, how do you review struct values debugging release targets? | 11 | 2443 | June 14, 2017 |