Trait rat_widget::table::edit::EditorWidget
source · pub trait EditorWidget {
type State;
// Required method
fn render_ref(
&self,
area: Rect,
cell_areas: &[Rect],
buf: &mut Buffer,
state: &mut Self::State,
);
}Expand description
StatefulWidget alike trait.
This one takes a slice of areas for all the cells in the table, and renders all input widgets as it needs.