Module rustc_const_eval::interpret::visitor
source · [−]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
Traits
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).