Traitsยง
Functionsยง
- const_
validate_ ๐mplace - eval_
body_ ๐using_ ecx - eval_
in_ ๐interpreter - eval_
static_ initializer_ provider - eval_
to_ allocation_ raw_ provider - eval_
to_ const_ value_ raw_ provider - mk_
eval_ cx_ for_ const_ val - Create an interpreter context to inspect the given
ConstValue
. Returns both the context and anOpTy
that represents the constant. - mk_
eval_ ๐cx_ to_ read_ const_ val - The
InterpCx
is only meant to be used to do field and index projections into constants forsimd_shuffle
and const patterns in match arms. - op_
to_ ๐const - This function converts an interpreter value into a MIR constant.
- report_
eval_ ๐error - report_
validation_ ๐error - turn_
into_ ๐const_ value