Skip to main content

Module container

Module container 

Source
Expand description

Container-facing child ontology and geometry seams. Container-facing child ontology and geometry seams.

The runtime carries several child concepts, but container consumers should reason about them on two axes:

  1. Semantic role
    • received_children: the payload a node received from its caller
    • encapsulated implementation children: the node’s own private template or primitive-assembled structure
  2. Lifecycle slice of the received payload
    • active received children: present in NodeContext::received_children
    • retained exiting received children: present in NodeContext::retained_received_children

Engine details such as projection still exist, but they are transport mechanisms rather than the primary semantic abstraction.

Structs§

ContainerFrame
Parent-local frame assigned by a container to one of its received children.

Enums§

ReceivedChildrenSource
Engine-internal selector for which child family should be normalized into NodeContext::received_children.

Traits§

Container
Trait for nodes that semantically interpret child content.

Functions§

bind_content_measurement_effect
Bind a reactive content-measurement effect to this node.
measure_content_children_forward_extents
Measure forward autosize extents from received content.
measure_content_children_layout_hull
Measure the aggregate layout hull contributed by received content in the container’s local coordinate space.
measured_size_needs_update
resolve_axis_autosize
Resolve one axis of autosize given the public autosize toggle plus an optional override.
resolve_content_autosize_measurement
Resolve a node’s measured size from its received content.
resolve_content_autosize_measurement_with_axes
Resolve a node’s measured size from received content with explicit per-axis autosize control.
sync_content_autosize
Update measured_size from received content when autosize is enabled.
sync_content_autosize_with_axes
Update measured_size from received content with explicit per-axis autosize control.