Module rustc_middle::source ·
mir:: interpret:: value
- Represents the result of const evaluation via the
- Represents a constant value in Rust.
Sliceare optimizations for array length computations, enum discriminants and the pattern matching logic.
Scalarrepresents an immediate, primitive value existing outside of a
memory::Allocation. It is in many ways like a small chunk of an
Allocation, up to 16 bytes in size. Like a range of bytes in an
Scalarcan either represent the raw bytes of a simple value or a pointer into another
- Gets the bytes of a constant slice value.