struct


Struct in memory is stored the using the same three-step method.

  1. The pointer.
  2. The length.
  3. The value.

The value is then the proper encoding of its individual types according to the specification stated here by the Solidity team.