def restore_state
import bendvy-ecs-core@0.1.0.3/column.bend as Columnimport Base
import lifecycle.bend as L
502def restore_state(~S:Data,~C:Type,+id:U32,stamp:L.Stamp,state:State<S,C>) -> Column<S,C>:
503 match state:
504 case State{values,stamps,capacity,current,owner,remaining,past}: Prepared{Owned{State{values,L.set(stamps,id,stamp),capacity,current,owner,remaining,past}}}