Module rustc_const_eval::const_eval::valtrees
source · Functions§
- branches π
- create_
valtree_ πplace - dump_
place π - eval_
to_ πvaltree Evaluates a constant and turns it into a type-level constant value. - Valtrees donβt store the
MemPlaceMeta
that all dynamically sized values have in the interpreter. This function reconstructs it. - slice_
branches π - valtree_
into_ πmplace - Converts a
ValTree
to aConstValue
, which is needed after mir construction has finished. - valtree_
to_ πref Put a valtree into memory and return a reference to that.