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
Statics
- CALLSITE 🔒
- CALLSITE 🔒
- CALLSITE 🔒
- CALLSITE 🔒
- CALLSITE 🔒
- CALLSITE 🔒
- META 🔒
- META 🔒
- META 🔒
- META 🔒
- META 🔒
- META 🔒
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 theMachine
bounds). - A thing that we can project into given mutable access to
ecx
, and that has a layout. This wouldn’t have to depend onMachine
but with the current type inference, that’s just more convenient to work with (avoids repeating all theMachine
bounds). - How to traverse a value and what to do when we are at the leaves.