I know that in C the compiler is not allowed to reorder struct fields and that this is important to the memory layout and alignment of the struct.
I am a beginner in Rust, and since it seems that for the most part raw pointers are hidden (I know you can still use them) if rustc is allowed to reorder the fields from their declared order in a struct.
unsafecode can still see the difference and since you need particular layout to interface with functions written in other languages, which Rust supports linking with. But I'm not sufficiently familiar with Rust to know for sure. - R.. GitHub STOP HELPING ICErepr(C). Read more here - Eugene Sh.