def namespace

bendvy-ecs-core@0.1.0.3 · world.bend:333

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base

333# Return World and its namespace for engine admission checks, not global provenance.
334def namespace(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>) -> World<S,C,R,E> & U32:
335  match world:
336    case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}: (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},namespace)

Uses (4)

Used by (10)