def replace_cell

bendvy-ecs-core@0.1.0.4 · local.bend:53

import bendvy-ecs-core@0.1.0.4/local.bend as Local
import Base

53def replace_cell(~L: Type,cell: Cell<L>,local: L) -> Cell<L>:
54  match cell:
55    case Cell{old}: Cell{local}

Uses (1)

Used by (2)