def transient_component_owned
bendvy-ecs-core@0.1.0.4 · restore_clear.bend:26
import bendvy-ecs-core@0.1.0.4/restore_clear.bend as RestoreClear
import Base
import bendvy-ecs-core@0.1.0.4/restore_data.bend as R
import bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend as Leaf
import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Identity
import bendvy-ecs-core@0.1.0.4/column.bend as Col
import bendvy-ecs-core@0.1.0.4/world.bend as W
26def transient_component_owned(~S:Data,~P:Type,~identity:Identity.Declaration<S,P>,owner:Leaf.TransientComponent<S,P,identity>,+handle:W.Handle<S>) -> Leaf.TransientComponent<S,P,identity> & List<&2,R.Change<S>>:
27 match owner:
28 case Leaf.TransientComponent{column,declaration}:transient_cleared(~S,~P,~identity,declaration,handle,Col.clear(~S,~P,column,W.handle_index(~S,handle)))