Expand description
UI context, container builder, and widget rendering.
Context — the per-frame handle threaded into every render closure.
This file defines the Context struct itself plus the dispatching
facade that imports widget impl blocks from the widgets_display,
widgets_input, widgets_interactive, and widgets_viz sub-modules.
See crate root for the entry-point crate::run / crate::frame
functions and docs/ARCHITECTURE.md for the 5-layer model that
organizes which method lives where.
Structs§
- Bar
- A single bar in a styled bar chart.
- BarChart
Config - Configuration for bar chart rendering.
- BarGroup
- A group of bars rendered together (for grouped bar charts).
- Breadcrumb
- Breadcrumb navigation bar builder. Auto-renders on
Drop. - Canvas
Context - Drawing context for the canvas widget.
- Code
Block - Syntax-highlighted code block builder. Auto-renders on
Drop. - Container
Builder - Fluent builder for configuring containers before calling
.col()or.row(). - Context
- The main rendering context passed to your closure each frame.
- Gauge
- Block-fill gauge builder. Auto-renders on
Drop. - Gutter
Opts - Options for
Context::scrollable_with_gutter. - Line
Gauge - Single-line gauge builder. Auto-renders on
Drop. - Memo
- Handle to a memoized value created by
Context::use_memo. - Modal
Options - Options for
Context::modal_with. - Response
- Interaction response returned by all widgets.
- State
- Handle to state created by
use_state(). Access via.get(ui)/.get_mut(ui). - Task
Handle async - Opaque handle returned by
Context::spawn. - Treemap
Item - A single item in a treemap.
Enums§
- Anchor
- Compass-rose anchor for
Context::overlay_at/Context::modal_at. - BarDirection
- Direction for bar chart rendering.
Traits§
- Widget
- Trait for creating custom widgets.