I have implemented structs in Rust as a vector of Arrays. Each nested array uses a byte-aligned contiguous region of memory, but the array for field 2 is not contiguous with the array for field 1.
Is this "compliant" ? I have been reading layout.md and I don't think it is clear but it seems to suggest that all the nested arrays should be contiguous to each other in memory? Thanks, Andy.