pub trait TableEditor<T> {
type State: TableEditorState<T>;
// Required method
fn render(
&self,
area: Rect,
cell_areas: &[Rect],
buf: &mut Buffer,
state: &mut Self::State,
);
}Expand description
This trait renders the row-editor widgets.
It gets a slice of areas for all the cells in the table, and renders all input widgets as it needs.
Required Associated Types§
Sourcetype State: TableEditorState<T>
type State: TableEditorState<T>
State associated with the stateful widget.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".