Expand description
Layout output types consumed by pipes and renderers.
The primary public types are RenderCommandOutput and its variants, plus
TextDrawPayload for text fragments attached to element commands.
Pipes such as CotisLayoutToRenderListPipeForGenerics in cotis-pipes walk a
RenderCommandOutput stream and decode each element’s custom payload into concrete draw
commands.
§Internal types
The layout engine also defines tree and state types (LayoutElement, LayoutElementConfig,
LayoutElementInfo, ChildWrapping, etc.) in crate-private submodules. These appear in the
return type of CotisLayoutManager::get_cache_element
for post-frame inspection but are not stable public API — their visibility is under review.
Note: layout-internal ChildWrapping (None / Text) is partially
unrelated to the experimental child_wrapping field on cotis-defaults layout styles.
Structs§
- Render
Command Clip End - Closes the clip region opened by the matching
RenderCommandClipStart. - Render
Command Clip Start - Opens a clip region for subsequent
RenderCommandOutput::Elementcommands. - Render
Command Output Element - Render data for one layout element.
- Text
Draw Payload - Text fragment attached to a
RenderCommandOutputElement.
Enums§
- Render
Command Output - One step in the layout-to-renderer command stream.