Expand description
Context
and related types/traits.
Modules
- sealed 🔒Private module containing traits (and related types) used in public APIs, but which should not be usable outside of the
context
module.
Macros
- entities 🔒
Structs
- Context object with global resources for SPIR-T.
- Collection holding the actual definitions for
Context
-allocated entities. - Doubly-linked list, “intrusively” going through
E::Def
, which must be anEntityListNode<E, _>
(to hold the “previous/next node” links). EntityList<E>
iterator, but with a different API thanIterator
.EntityList<E>
node, containing the “intrusive” list links, and the rest of the entity definition (theinner_def
field of typeD
).- Map with
K
keys andV
values, that is:
Enums
Traits
EntityOriented*Map<Self, V>
support trait, implemented for entity types, but which can also be implemented by users for their own newtypes and other types wrapping entity types (such as finiteenum
s).- Dispatch helper, to allow implementing interning logic on the type passed to
cx.intern(...)
.