pub trait TableRowStyle: TableRowMeta {
type ColumnId: Into<usize> + From<usize>;
// Required method
fn render_table_cell(
&self,
col: Self::ColumnId,
window: &mut Window,
cx: &mut App,
) -> AnyElement;
// Provided method
fn render_table_row(
&self,
row_ix: usize,
window: &mut Window,
cx: &mut App,
) -> Stateful<Div> { ... }
}Expand description
Rendering contract for a table row.
Required Associated Types§
Required Methods§
Sourcefn render_table_cell(
&self,
col: Self::ColumnId,
window: &mut Window,
cx: &mut App,
) -> AnyElement
fn render_table_cell( &self, col: Self::ColumnId, window: &mut Window, cx: &mut App, ) -> AnyElement
Renders a single cell.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".