Expand description
Constant value definitions.
Structs§
- Const
- An operation returning a constant value.
- Custom
Serialized - A constant value stored as a serialized blob that can report its own type.
- Opaque
Value - An opaque newtype around a
Box<dyn CustomConst>
. - Sum
- A Sum variant, with a tag indicating the index of the variant and its value.
Enums§
- Const
Type Error - Errors that arise from typechecking constants
- Custom
Check Failure - Struct for custom type check fails.
- Value
- A value that can be stored as a static constant. Representing core types and extension types.
Traits§
- Custom
Const - Extensible constant values.
- TryHash
- Fallible hash function.
Functions§
- downcast_
equal_ consts - Const equality for types that have
PartialEq
- get_
pair_ of_ input_ values - Given a list of two constant operations, return the values.
- get_
single_ input_ value - Given a singleton list of constant operations, return the value.
Type Aliases§
- Value
Name - A unique identifier for a constant value.
- Value
Name Ref - Slice of a
ValueName
constant value identifier.