def prepared_state
bendvy-ecs-core@0.1.0.4 · captured_column.bend:98
import bendvy-ecs-core@0.1.0.4/captured_column.bend as CapturedColumn
import Base
import column.bend as Col
98def prepared_state(~S:Data,~C:Type,+id:U32,state:Col.State<S,C>) -> Capture<S,C>:
99 match state:
100 case Col.State{values,stamps,+capacity,+current,owner,remaining,past}: prepared_checked(~S,~C,id,values,stamps,capacity,current,owner,remaining,past,U32.is_gt(id,0) && U32.is_le(id,capacity),U32.is_eq(id,current),U32.is_lt(id,current))