rustc_const_eval::interpret

Module 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.