Can I do something to ensure that:
- X([[i16; 64]; 64]),
- [[i16; 64]; 64],
- [i16; 4096]
have the same representation in memory and can be safely transmuted between each other ?
X(...) for the properties of type safety and abstraction. However, I also want it to share representation as
[i16; 4096] for the benefits of memory mapping (a multi gigabyte file), which contains billions of X's.