def spawn_field

bendvy-ecs-core@0.1.0.3 · execution_command_permission.bend:142

import bendvy-ecs-core@0.1.0.3/execution_command_permission.bend as ExecutionCommandPermission
import Base
import bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend as Buffer
import bendvy-ecs-core@0.1.0.3/execution_command_removed.bend as Removed
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout

142# Only a declaration that consumed the structural grant can obtain this field.
143def spawn_field(~Q:Type,~S:Data,~layout:Layout.Layout,~Permit:Data,~F:Type -> Type,commands:EntityCommands<Q,S,layout,Permit,F>) -> Q -> Removed.Removed(layout) -> F(Q & Buffer.SpawnAdmission<S,Removed.Removed(layout)>):
144  match commands:
145    case EntityCommands{_,spawn}:spawn

Uses (5)

Used by (0)

No other definition uses this definition.