Module constants

Module constants 

Source
Expand description

This module contains types and functions for working with constants.

Structs§

Constant
The identifier for a single Constant.
ConstantInfo
Information about a Constant.

Enums§

ConstantDecodeError
An error returned trying to decode a constant.
ConstantInfoError
An error returned trying to access Constant information.

Traits§

ConstantTypeInfo
This can be implemented for anything capable of providing Constant information.

Functions§

decode_constant
Decode a constant from the provided information.
decode_constant_with_info
Decode a constant given the ConstantInfo and a resolver to resolve the constant type.