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 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 - shape
- Table filter shape contracts.
Structs§
- Display
Cell - Table-cell wrapper for values that should render through
Display. - Formatted
Cell - 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§
- McpInput
Shape - Framework-neutral shape of structured MCP input accepted by a component.
- McpPrimitive
Kind - Primitive value kinds a component shape can expose to model-controlled tools.
- McpRange
Bound Kind - Primitive kinds that can be used as
{ "min": ..., "max": ... }MCP range bounds.
Traits§
- Component
Shape For - Marker that a component shape supports a value or field type.
- Component
Shape Metadata - Framework-neutral metadata published by a component shape.
- Declared
Component Shape - Marker for component shapes declared through a trusted declaration surface.
- Table
Cell - A value that can be displayed in a table cell.
- Table
Data Loader - Trait for table delegates that support loading data.
- Table
Loader - Trait for defining table loading behavior.
- Table
RowContext Menu - Context-menu hooks for a table row.
- Table
RowGenerated Context Menu - Generated/default context-menu composition hooks for a table row.
- Table
RowMeta - Metadata for a table row type.
- Table
RowStyle - 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.