[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Struct memory format question

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 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