| 1 | //! Type-safe generational identifiers (slotmap-style) for arenas. |
| 2 | //! All IDs use u64 = index (low 32 bits) | generation (high 32 bits). Index 0 = nil. |
| 3 | //! IDs are created by their owning arena/manager; slot reuse bumps generation so stale IDs are invalid. |
| 4 |