We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f61671 commit cdf1259Copy full SHA for cdf1259
reference/src/layout/structs-and-tuples.md
@@ -83,6 +83,8 @@ This can be visualized as follows:
83
```text
84
[ <--> [field 3] <-----> [field 1] <-> [ field 2 ] <--> ]
85
```
86
+**Figure 1** (struct-field layout): The `<-...->` and `[ ... ]` denote the differently-sized gaps and fields, respectively.
87
+
88
Here, the individual fields are blocks of fixed size (determined by the field's
89
layout). The compiler freely picks an order for the fields to be in (this does
90
not have to be the order of declaration in the source), and it picks the gaps
0 commit comments