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::ResolvedOrderedTableDelegate;pub use ordering::ResolvedTableColumn;pub use ordering::ResolvedTableDelegate;pub use ordering::TableRowSelection;pub use ordering::set_table_ordering;pub use ordering::set_table_resolved_columns;pub use ordering::set_table_resolved_sort_columns;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.
- selection
- Delegate-owned multiple selection composed with the public GPUI Kit table.
- 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.
- text_
cell - Renders the same text visually and through the native accessibility tree. Custom cell formatters can use this helper for their final displayed value. Place multiple text cells under distinct GPUI element ID scopes.