World.handle_index: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/world.bend as World Lines 105-109 of bendvy-ecs-core@0.1.0.3/world.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&start_line=105&end_line=109 import Base import entity_key.bend as K # Extract only the slot index for trusted storage adapters. Generation and World # namespace are omitted; this projection must not replace handle validation. def handle_index(~S:Data,handle:Handle) -> U32: match handle: case Handle{_,key}:K.index(key) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/entity_key.bend&name=index https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=Handle