def fields

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

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

19def fields(field:Gate.Field) -> List<&2,D.Field>:
20  match field:
21    case Gate.Omitted{_}:[]
22    case Gate.Saved{name,value}:[D.Field{name,value}]

Uses (3)

Used by (2)