pub struct GpuiTableShape {
pub struct_name: &'static str,
pub table_id: TableId<'static>,
pub table_title: &'static str,
pub fluent: bool,
pub columns: &'static [ColumnVariant],
pub filters: &'static [FilterVariant],
pub load_more: bool,
pub source_path: &'static str,
}Expand description
Metadata for a table row type, collected via inventory.
Fields§
§struct_name: &'static str§table_id: TableId<'static>§table_title: &'static str§fluent: bool§columns: &'static [ColumnVariant]§filters: &'static [FilterVariant]§load_more: boolWhether load_more is enabled on the table via #[gpui_table(load_more)].
source_path: &'static strThe source file path where the struct with #[derive(GpuiTable)] is declared. This is the full path from file!() macro, useful for generating imports.
Implementations§
Trait Implementations§
impl Collect for GpuiTableShape
Auto Trait Implementations§
impl Forget for GpuiTableShape
impl Freeze for GpuiTableShape
impl Move for GpuiTableShape
impl RefUnwindSafe for GpuiTableShape
impl Send for GpuiTableShape
impl Sync for GpuiTableShape
impl Unpin for GpuiTableShape
impl UnsafeUnpin for GpuiTableShape
impl UnwindSafe for GpuiTableShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more