Skip to main content

Module ui

Module ui 

Source
Expand description

Rendering, theming, and structured output helpers. Canonical UI pipeline.

This module owns planning, lowering, and emission for human-facing output. It is intentionally small in the core implementation slice:

  • one planner decides the effective output format
  • one human-facing document IR carries structure
  • one lowering pass turns payloads into that IR
  • one emitter family renders terminal or markdown output
  • sidecar subsystems such as messages live in their own folders

Re-exports§

pub use style::StyleOverrides;
pub use style::StyleToken;
pub use style::ThemeStyler;
pub use theme::DEFAULT_THEME_NAME;
pub use theme_catalog as theme_loader;

Modules§

clipboard
Clipboard transport for the canonical UI pipeline.
interact
Interactive terminal services for the canonical UI pipeline.
messages
Buffered user-facing messages and their canonical rendering helpers.
section_chrome
Reusable section chrome helpers for messages, help, and guide rendering.
style
theme
theme_catalog

Structs§

HelpChromeSettings
PresentationEffect
RenderRuntime
RenderRuntimeBuilder
RenderSettings
RenderSettingsBuilder
ResolvedHelpChromeSettings
ResolvedRenderSettings

Enums§

GuideDefaultFormat
HelpLayout
HelpTableChrome
RenderBackend
RenderProfile
TableBorderStyle
TableOverflow
UiPresentation

Functions§

help_layout_from_config
render_output
Renders structured output using the canonical UI pipeline.
render_output_for_copy
render_rows
resolve_settings