Expand description
Enums shared across languages: each value is a named singleton of an
object type whose parent is EnumObj. EnumRef looks values up;
reflection::EnumDef registers them.
Structs§
- EnumObj
- The object behind every enum value: its name and the index the registry
assigned it. An enum type’s object embeds it as its parent,
base_: EnumObj.
Traits§
- EnumRef
- A reference to an enum value: one named singleton of an enum type, registered once and shared with every language.