Expand description
Translate constants to hax: type-system constants, and the values read by rustc_const_uneval.
Functionsยง
- bits_
and_ ๐type_ to_ float_ constant_ literal - Converts a bit-representation of a float of type
tyto a constant literal - const_
reader ๐ - The reader for constants evaluated in the current context.
- read_
const - Evaluate
srcand read it back as aConstantExpr. - scalar_
int_ ๐to_ constant_ literal - unsizing_
metadata ๐ - The metadata of a pointer to a value of type
fromunsized to typeto.