I doubt that's part of the public API then. At best it's like using unsafe package in Java for instance. Not forbidden but prone to occasional breakage, and it's all on you to keep compatibility.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Add `repr(inherit($type))` | 32 | 1988 | September 6, 2022 | |
| Pre-RFC: Define the behavior of `repr(transparent)` when all fields are zero-sized types | 21 | 1405 | February 21, 2025 | |
| Pre-RFC: Transparent unions | 14 | 2261 | May 26, 2019 | |
| Discussion: Editions in Rust-GCC (and other Rust compilers) | 93 | 5446 | September 6, 2022 | |
| Pin layout guarantees? | 13 | 1151 | December 22, 2024 |