pub trait TableBuilderExt {
Show 22 methods
// Required methods
fn with_table_frame(self, frame: FrameType) -> Self;
fn with_rows(self, val: i32) -> Self;
fn with_cols(self, val: i32) -> Self;
fn with_row_resize(self, flag: bool) -> Self;
fn with_col_resize(self, flag: bool) -> Self;
fn with_col_resize_min(self, val: i32) -> Self;
fn with_row_resize_min(self, val: i32) -> Self;
fn with_row_header(self, flag: bool) -> Self;
fn with_col_header(self, flag: bool) -> Self;
fn with_col_header_height(self, height: i32) -> Self;
fn with_row_header_width(self, width: i32) -> Self;
fn with_row_header_color(self, val: Color) -> Self;
fn with_col_header_color(self, val: Color) -> Self;
fn with_row_height(self, row: i32, height: i32) -> Self;
fn with_col_width(self, col: i32, width: i32) -> Self;
fn with_row_height_all(self, height: i32) -> Self;
fn with_col_width_all(self, width: i32) -> Self;
fn with_row_position(self, row: i32) -> Self;
fn with_col_position(self, col: i32) -> Self;
fn with_top_row(self, row: i32) -> Self;
fn with_scrollbar_size(self, new_size: i32) -> Self;
fn with_tab_cell_nav(self, val: bool) -> Self;
}Expand description
Adds builder pattern friendly versions of several setter functions
Required Methods§
Sourcefn with_table_frame(self, frame: FrameType) -> Self
fn with_table_frame(self, frame: FrameType) -> Self
Sets the table frame
Sourcefn with_row_resize(self, flag: bool) -> Self
fn with_row_resize(self, flag: bool) -> Self
Sets a row to be resizable
Sourcefn with_col_resize(self, flag: bool) -> Self
fn with_col_resize(self, flag: bool) -> Self
Sets a column to be resizable
Sourcefn with_col_resize_min(self, val: i32) -> Self
fn with_col_resize_min(self, val: i32) -> Self
Sets the current column minimum resize value.
Sourcefn with_row_resize_min(self, val: i32) -> Self
fn with_row_resize_min(self, val: i32) -> Self
Sets the current row minimum resize value.
Sourcefn with_row_header(self, flag: bool) -> Self
fn with_row_header(self, flag: bool) -> Self
Sets whether a row headers are enabled or not
Sourcefn with_col_header(self, flag: bool) -> Self
fn with_col_header(self, flag: bool) -> Self
Sets whether a column headers are enabled or not
Sourcefn with_col_header_height(self, height: i32) -> Self
fn with_col_header_height(self, height: i32) -> Self
Sets the column header height
Sourcefn with_row_header_width(self, width: i32) -> Self
fn with_row_header_width(self, width: i32) -> Self
Sets the row header width
Sourcefn with_row_header_color(self, val: Color) -> Self
fn with_row_header_color(self, val: Color) -> Self
Sets the row header color
Sourcefn with_col_header_color(self, val: Color) -> Self
fn with_col_header_color(self, val: Color) -> Self
Sets the column header color
Sourcefn with_row_height(self, row: i32, height: i32) -> Self
fn with_row_height(self, row: i32, height: i32) -> Self
Sets the row’s height
Sourcefn with_col_width(self, col: i32, width: i32) -> Self
fn with_col_width(self, col: i32, width: i32) -> Self
Sets the column’s width
Sourcefn with_row_height_all(self, height: i32) -> Self
fn with_row_height_all(self, height: i32) -> Self
Sets all rows height
Sourcefn with_col_width_all(self, width: i32) -> Self
fn with_col_width_all(self, width: i32) -> Self
Sets all column’s width
Sourcefn with_row_position(self, row: i32) -> Self
fn with_row_position(self, row: i32) -> Self
Sets the row’s position
Sourcefn with_col_position(self, col: i32) -> Self
fn with_col_position(self, col: i32) -> Self
Sets the column’s position
Sourcefn with_top_row(self, row: i32) -> Self
fn with_top_row(self, row: i32) -> Self
Sets the top row
Sourcefn with_scrollbar_size(self, new_size: i32) -> Self
fn with_scrollbar_size(self, new_size: i32) -> Self
Sets the scrollbar size
Sets whether tab key cell navigation is enabled
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.