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.
Traits§
- How to traverse a value and what to do when we are at the leaves.