Expand description
Contains definitions for variables and constant values.
Modules§
- scalar_
value_ 🔒ser_ de - Custom serializer that stores 128 bit integers as strings to avoid overflow.
Macros§
Structs§
- Constant
Expr - A constant expression.
- Float
Value - This is simlar to the Scalar value above. However, instead of storing the float value itself, we store its String representation. This allows to derive the Eq and Ord traits, which are not implemented for floats
- Global
Place - The place a
Ref/Ptrconstant points to, e.g.GLOBAL.0[1]. This is a constant version ofPlace.
Enums§
- Byte
- A byte, in the MiniRust sense: it can either be uninitialized, a concrete u8 value, or part of a pointer with provenance (e.g. to a global or a function)
- Const
Projection Elem - A projection inside the pointee of a
Ref/Ptrconstant. This is a constant version ofProjectionElem. - Constant
Expr Kind - Global
Place Kind - Global
Provenance - Provenance is the location in memory a pointer (or the byte of a pointer, see
Byte) points to.GlobalProvenancerepresents a compile-time provenance. See https://doc.rust-lang.org/std/ptr/index.html#provenance - Integer
Value - A scalar value.