EntityKey.index: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/entity_key.bend as EntityKey Lines 9-13 of bendvy-ecs-core@0.1.0.3/entity_key.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/entity_key.bend&start_line=9&end_line=13 import Base # Return only the slot index, discarding generation for this observation. # Equal indices do not establish equal entity identities or valid handles. def index(key:Key) -> U32: match key: case EntityKey{index,_}:index Uses (2): 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=Key