~/bend-docscommunity

internal/compact_operational_frame.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.5/internal/compact_operational_frame.bend as Compact_operational_frame

12 imports
import Base
import ../change_tick.bend as Tick
import ../clock_state.bend as Clock
import ../world.bend as W
import ../entity_allocator.bend as A
import ../transaction.bend as T
import ../trace_facts.bend as Facts
import ../deferred_command.bend as Deferred
import ../compose.bend as Q
import ../component.bend as C
import ../column.bend as Col
import ./query_read_session.bend as Session

Types

type Shell source · line 15 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> Type

Read operations retain this affine shell without inspecting its fields.

type Frame source · line 17 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> Type

Templates

template extract source · line 19 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @frame:0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E> -> Frame<S, Store, R, E>

template restore source · line 22 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @frame:Frame<S, Store, R, E> -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E>

template extract_value source · line 26 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @observed:Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E>, V) -> Pair(Frame<S, Store, R, E>, V)

template bridge_get source · line 29 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @-get:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E>, V)) -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, V)

template bridge_set source · line 31 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-set:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E> -> @_:P -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Frame<S, Store, R, E>) -> @frame:Frame<S, Store, R, E> -> @value:P -> Frame<S, Store, R, E>

template read_returned source · line 34 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @handle:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.Handle<S> -> @error:Maybe<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.WorldError> -> @shell:Shell<S, Store, R, E> -> @observed:Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/internal/query_read_session.Owner<S, Store>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/component.Access<V>) -> Pair(Frame<S, Store, R, E>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/component.Access<V>)

template read source · line 37 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-P:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/component.Access<V>)

template selected source · line 40 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @mode:0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Selection -> @observed:Pair(Frame<S, Store, R, E>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/component.Access<V>) -> Pair(Frame<S, Store, R, E>, Bool)

template family_match source · line 43 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-P:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @-mode:0x2a0aaf4f2cb3f416a9b91fd887916a5d/compose.Selection -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)

template all source · line 45 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)

template and_selected source · line 47 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-right:(@_:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)) -> @observed:Pair(Frame<S, Store, R, E>, Bool) -> Pair(Frame<S, Store, R, E>, Bool)

template both source · line 51 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-left:(@_:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)) -> @-right:(@_:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)) -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)