Set the columns with full configuration. Use this when you need to customize alignment or width constraints. # Arguments `columns` - The column configurations # Returns Self for method chaining. # Example ```rust,ignore let mut table = Table::new(); table.set_columns(vec![ Column::new("Name").align(Alignment::Left), Column::new("Count").align(Alignment::Right), ]); ```
(&mut self, columns: Vec<Column>)
| 356 | /// ]); |
| 357 | /// ``` |
| 358 | pub fn set_columns(&mut self, columns: Vec<Column>) -> &mut Self { |
| 359 | self.columns = columns; |
| 360 | self |
| 361 | } |
| 362 | |
| 363 | /// Add a row to the table. |
| 364 | /// |
no outgoing calls