~/bend-docscommunity

captured_column.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.2/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.

type Capture source · line 11 · raw

@-S:Data -> @-C:Type -> Type

Templates

template stamped source · line 15 · raw

@-S:Data -> @-C:Type -> @+id:U32 -> @column:0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, C> -> @stamp:0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Stamp -> @dirty:Bool -> 0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Entry> -> @slot:Slot<C> -> 0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, C>

template indexed_restore_plain source · line 22 · raw

@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata -> @slot:Slot<C> -> 0xb2b0f04555daca474f0f77d0966945c9/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(0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata, 0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Stamp) -> Capture<S, C>

template indexed_plain_taken source · line 28 · raw

@-S:Data -> @-C:Type -> @+id:U32 -> @metadata:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Entry> -> @capacity:U32 -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/column.History<S, C> -> @slot:Slot<C> -> 0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, C>

template indexed_restore_prepared source · line 44 · raw

@-S:Data -> @-C:Type -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata -> @capacity:U32 -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/column.History<S, C> -> @slot:Slot<C> -> 0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Entry> -> @capacity:U32 -> @owner:Maybe<&1, C> -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/column.History<S, C> -> @result:Pair(0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata, 0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata -> @capacity:U32 -> @owner:Maybe<&1, C> -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Entry> -> @capacity:U32 -> @+target:U32 -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/column.History<S, C> -> @phase:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata -> @capacity:U32 -> @+target:U32 -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/column.History<S, C> -> @phase:0xb2b0f04555daca474f0f77d0966945c9/column.SeekPhase -> Capture<S, C>

template plain_taken source · line 71 · raw

@-S:Data -> @-C:Type -> @+id:U32 -> @+stamps:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/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, 0xb2b0f04555daca474f0f77d0966945c9/lifecycle.Entry> -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/indexed_lifecycle.Metadata -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0xb2b0f04555daca474f0f77d0966945c9/owner_handoff.PrototypeHandoffRows<S, C> -> @past:0xb2b0f04555daca474f0f77d0966945c9/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:0xb2b0f04555daca474f0f77d0966945c9/column.State<S, C> -> Capture<S, C>

template indexed_prepared_state source · line 101 · raw

@-S:Data -> @-C:Type -> @+id:U32 -> @state:0xb2b0f04555daca474f0f77d0966945c9/column.IndexedPreparedState<S, C> -> Capture<S, C>

template capture source · line 104 · raw

@-S:Data -> @-C:Type -> @column:0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, C> -> @+id:U32 -> Capture<S, C>