Expand description
Stable ids and the Symbol type used across the kernel.
Defines the typed id wrappers (lib, class, codec, shape, …), the
well-known core class ids, and the symbol contract that names every runtime
entity. Symbols are reference-counted (Arc<str>) rather than interned:
there is no global dedup table, so equal names may back distinct
allocations.
Structs§
- CaseId
- Stable id of a single overload case within a function.
- ClassId
- Stable id of a registered class.
- CodecId
- Stable id of a registered codec.
- Function
Id - Stable id of a registered function.
- LibId
- Stable id of a loaded library.
- MacroId
- Stable id of a registered macro.
- Number
Domain Id - Stable id of a registered number domain.
- ShapeId
- Stable id of a registered shape.
- SiteId
- Stable id of a registered opaque site value.
- Symbol
- An optionally namespaced name for a runtime entity.
- ValueId
- Process-local id of a runtime value.
Enums§
- Runtime
Id - Tagged union over the stable id kinds a runtime entity may carry.
- Symbol
Error - Reason a name was rejected by
Symbol::checked.
Constants§
- CORE_
BOOL_ CLASS_ ID ClassIdof the coreboolclass.- CORE_
BYTES_ CLASS_ ID ClassIdof the corebytesclass.- CORE_
CARD_ CLASS_ ID ClassIdof the corecardclass.- CORE_
CLASS_ CLASS_ ID ClassIdof the coreclassmetaclass.- CORE_
CODEC_ CLASS_ ID ClassIdof the corecodecclass.- CORE_
EVAL_ REPLY_ CLASS_ ID ClassIdof the coreeval-replyclass.- CORE_
EVAL_ REQUEST_ CLASS_ ID ClassIdof the coreeval-requestclass.- CORE_
EXPR_ CLASS_ ID ClassIdof the coreexprclass.- CORE_
FUNCTION_ CLASS_ ID ClassIdof the corefunctionclass.- CORE_
HELP_ CLASS_ ID ClassIdof the corehelpclass.- CORE_
LIST_ CLASS_ ID ClassIdof the corelistclass.- CORE_
LOCAL_ EVAL_ FABRIC_ CLASS_ ID ClassIdof the core localeval-fabricclass.- CORE_
MACRO_ CLASS_ ID ClassIdof the coremacroclass.- CORE_
NIL_ CLASS_ ID ClassIdof the corenilclass.- CORE_
NUMBER_ CLASS_ ID ClassIdof the corenumberclass.- CORE_
NUMBER_ DOMAIN_ CLASS_ ID ClassIdof the corenumber-domainclass.- CORE_
SEQUENCE_ CLASS_ ID ClassIdof the coresequenceclass.- CORE_
SHAPE_ CLASS_ ID ClassIdof the coreshapeclass.- CORE_
SHAPE_ MATCH_ CLASS_ ID ClassIdof the coreshape-matchclass.- CORE_
STRING_ CLASS_ ID ClassIdof the corestringclass.- CORE_
SYMBOL_ CLASS_ ID ClassIdof the coresymbolclass.- CORE_
TABLE_ CLASS_ ID ClassIdof the coretableclass.- CORE_
TEST_ CLASS_ ID ClassIdof the coretestclass.- CORE_
THUNK_ CLASS_ ID ClassIdof the corethunkclass.