(&mut self, row: usize, col: usize, value: impl Into<String>)
| 349 | .map(|cell| cell.text.to_string()) |
| 350 | .collect(); |
| 351 | let rows = table |
| 352 | .rows |
| 353 | .iter() |
| 354 | .map(|row| row.cells.iter().map(|cell| cell.text.to_string()).collect()) |
| 355 | .collect(); |
| 356 | Self { headers, rows } |
| 357 | } |
| 358 | |
| 359 | #[inline] |
| 360 | pub fn row_count(&self) -> usize { |
| 361 | self.rows.len() |
| 362 | } |
| 363 |
no test coverage detected