def value_set

bendvy-ecs-core@0.1.0.3 · capabilities.bend:97

import bendvy-ecs-core@0.1.0.3/capabilities.bend as Capabilities
import Base

97# Consume replacement C through ValueWrite and return the opaque owner.
98# The bound setter defines transaction/refusal behavior; this adds no receipt.
99def value_set(~H: Type,~C: Type,~V: Data,~cap: ValueWrite<H,C,V>,ctx: H,value: C) -> H:
100  value_write_field(~H,~C,~V,cap)(ctx,value)

Uses (2)

Used by (0)

No other definition uses this definition.