captured_column.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.1/captured_column.bend as Captured_column
5 imports
import Base import column.bend as Col import owner_handoff.bend as H import lifecycle.bend as L import indexed_lifecycle.bend as M
Types
type Slot source · line 9 · raw
@-C:Type -> Type
Provisioning captures a restoration closure only after accepted extraction. Gameplay never receives its captured column/index or a replacement restore target.
Slot@-C:Type -> @owner:Maybe<&1, C> -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @dirty:Bool -> Slot<C>
type Capture source · line 11 · raw
@-S:Data -> @-C:Type -> Type
Captured@-S:Data -> @-C:Type -> @id:U32 -> @owner:Maybe<&1, C> -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @restore:(@_:Slot<C> -> 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>) -> Capture<S, C>
Templates
template stamped source · line 15 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @column:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @dirty:Bool -> 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>
template restore_plain source · line 19 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @slot:Slot<C> -> 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>
template indexed_restore_plain source · line 22 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @slot:Slot<C> -> 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>
template indexed_plain_got source · line 25 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @owner:Maybe<&1, C> -> @result:Pair(0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> Capture<S, C>
template indexed_plain_taken source · line 28 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> Capture<S, C>
template indexed_plain_checked source · line 31 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @values:Array<Maybe<&1, C>> -> @valid:Bool -> Capture<S, C>
template indexed_plain_sized source · line 35 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @sized:Pair(Array<Maybe<&1, C>>, U32) -> Capture<S, C>
template indexed_plain_state source · line 38 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:0xf435da9e535b3846d643dad16580e35f/column.IndexedOrdinaryState<S, C> -> Capture<S, C>
template restore_prepared source · line 41 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @capacity:U32 -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @slot:Slot<C> -> 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>
template indexed_restore_prepared source · line 44 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @capacity:U32 -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @slot:Slot<C> -> 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>
template captured_prepared source · line 47 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @+stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @capacity:U32 -> @owner:Maybe<&1, C> -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> Capture<S, C>
template indexed_captured_got source · line 50 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @capacity:U32 -> @owner:Maybe<&1, C> -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @result:Pair(0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> Capture<S, C>
Exact constant-None specialization of Col.seek: phase and fuel remain observable.
template indexed_captured_prepared source · line 53 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @capacity:U32 -> @owner:Maybe<&1, C> -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> Capture<S, C>
template capture_seek source · line 55 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @capacity:U32 -> @+target:U32 -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @phase:0xf435da9e535b3846d643dad16580e35f/column.SeekPhase -> Capture<S, C>
template indexed_capture_seek source · line 63 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @capacity:U32 -> @+target:U32 -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @phase:0xf435da9e535b3846d643dad16580e35f/column.SeekPhase -> Capture<S, C>
template plain_taken source · line 71 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @+stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> Capture<S, C>
template plain_checked source · line 74 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @values:Array<Maybe<&1, C>> -> @valid:Bool -> Capture<S, C>
template plain_sized source · line 78 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @sized:Pair(Array<Maybe<&1, C>>, U32) -> Capture<S, C>
template recovered_capture source · line 81 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @column:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Capture<S, C>
template prepared_checked source · line 86 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Entry> -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @valid:Bool -> @same:Bool -> @backwards:Bool -> Capture<S, C>
template indexed_prepared_checked source · line 92 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0xf435da9e535b3846d643dad16580e35f/indexed_lifecycle.Metadata -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0xf435da9e535b3846d643dad16580e35f/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xf435da9e535b3846d643dad16580e35f/column.History<S, C> -> @valid:Bool -> @same:Bool -> @backwards:Bool -> Capture<S, C>
template prepared_state source · line 98 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:0xf435da9e535b3846d643dad16580e35f/column.State<S, C> -> Capture<S, C>
template indexed_prepared_state source · line 101 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:0xf435da9e535b3846d643dad16580e35f/column.IndexedPreparedState<S, C> -> Capture<S, C>
template capture source · line 104 · raw
@-S:Data -> @-C:Type -> @column:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> @+id:U32 -> Capture<S, C>