Module rustc_const_eval::source ·
Functions concerning immediate values and operands, and reading from operands. All high-level functions to read from memory work on operands as sources.
Immediaterepresents a single immediate self-contained Rust value.
Operandis the result of computing a
mir::Operand. It can be immediate, or still in memory. The latter is an optimization, to delay reading that chunk of memory and to avoid having to store arbitrary-sized data here.
- p 🔒Helper function for printing a scalar to a FmtPrinter