def component_modify_once

bendvy-ecs-core@0.1.0.3 · execution_access.bend:70

import bendvy-ecs-core@0.1.0.3/execution_access.bend as ExecutionAccess
import Base
import bendvy-ecs-core@0.1.0.3/execution_state.bend as State
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/chunk_column.bend as Col
import bendvy-ecs-core@0.1.0.3/owner_product.bend as Product

70def component_modify_once(~S:Data,~C:Type,~R:Type,~P:Type,~Rest:Type,~V:Data,~lens:Product.Lens<C,Col.Column<S,P>,Rest>,transform:P -> P & V,scope:State.Scope<S,C,R>,handle:W.Handle<S>) -> State.Scope<S,C,R> & Maybe<&2,V>:
71  component_modify(~S,~C,~R,~P,~Rest,~V,~lens,transform,scope,handle)

Uses (7)

Used by (2)