def handle_index
import bendvy-ecs-core@0.1.0.3/world.bend as Worldimport Base
import entity_key.bend as K
105# Extract only the slot index for trusted storage adapters. Generation and World
106# namespace are omitted; this projection must not replace handle validation.
107def handle_index(~S:Data,handle:Handle<S>) -> U32:
108 match handle:
109 case Handle{_,key}:K.index(key)
Uses (3)
Used by (11)
- bendvy-ecs-core@0.1.0.3/execution_access:component_read_checked
- bendvy-ecs-core@0.1.0.3/execution_command_publication:despawn_live
- bendvy-ecs-core@0.1.0.3/execution_query:selected_handle
- bendvy-ecs-core@0.1.0.3/execution_query_admission:physical
- bendvy-ecs-core@0.1.0.3/execution_access:component_modify_checked
- …