def component_fields

bendvy-ecs-core@0.1.0.4 · snapshot_leaf.bend:35

import bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend as SnapshotLeaf
import Base
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Canonical

35def component_fields(~S:Data,~P:Type,~identity:Canonical.Declaration<S,P>,~project:P -> P & D.Raw,id:U32,value:Component<S,P,identity,project>) -> Component<S,P,identity,project> & List<&2,D.Field>:
36  component_fields_owned(~S,~P,~identity,~project,id,value)

Uses (8)

Used by (2)