Skip to main content

Crate gpui_table_runtime

Crate gpui_table_runtime 

Source
Expand description

GPUI-facing runtime contracts for generated and manual table integrations.

This crate owns row rendering traits, load-more traits, default cell rendering, filter-shape contracts, and generic generated-filter helpers. Built-in filter widget shape implementations live in gpui-table-component so this runtime crate can be used without depending on concrete components.

Re-exports§

pub use ordering::OrderedTableDelegate;
pub use ordering::TableRowSelection;
pub use ordering::set_table_ordering;
pub use generated_filters::FilterEntitiesExt;
pub use generated_filters::FilterSidebarData;
pub use generated_filters::FilterSidebarGroup;
pub use generated_filters::FilterSidebarItem;
pub use generated_filters::icon_from_name;

Modules§

generated_filters
ordering
Ordering application and selection snapshots for generated table delegates.
shape
Table filter shape contracts.

Structs§

DisplayCell
Table-cell wrapper for values that should render through Display.
FormattedCell
Table-cell wrapper that renders a value with a caller-provided formatter.
McpInput
Shape-owned metadata for model-controlled MCP input.
TableId
Stable borrowed identifier for a table row or registry entry.

Enums§

McpInputShape
Framework-neutral shape of structured MCP input accepted by a component.
McpPrimitiveKind
Primitive value kinds a component shape can expose to model-controlled tools.
McpRangeBoundKind
Primitive kinds that can be used as { "min": ..., "max": ... } MCP range bounds.

Traits§

ComponentShapeFor
Marker that a component shape supports a value or field type.
ComponentShapeMetadata
Framework-neutral metadata published by a component shape.
DeclaredComponentShape
Marker for component shapes declared through a trusted declaration surface.
TableCell
A value that can be displayed in a table cell.
TableDataLoader
Trait for table delegates that support loading data.
TableLoader
Trait for defining table loading behavior.
TableRowContextMenu
Context-menu hooks for a table row.
TableRowGeneratedContextMenu
Generated/default context-menu composition hooks for a table row.
TableRowMeta
Metadata for a table row type.
TableRowStyle
Rendering contract for a table row.

Functions§

default_render_cell
Default implementation for rendering a cell.
default_render_row
Default implementation for rendering a row.