Expand description

Visitor for a run-time value with a given layout: Traverse enums, structs and other compound types until we arrive at the leaves, with custom handling for primitive types.

Macros

Statics

Traits

  • How to traverse a value and what to do when we are at the leaves.
  • A thing that we can project into, and that has a layout. This wouldn’t have to depend on Machine but with the current type inference, that’s just more convenient to work with (avoids repeating all the Machine bounds).
  • A thing that we can project into given mutable access to ecx, and that has a layout. This wouldn’t have to depend on Machine but with the current type inference, that’s just more convenient to work with (avoids repeating all the Machine bounds).
  • How to traverse a value and what to do when we are at the leaves.