(
&mut self,
row: usize,
header: &str,
value: impl Into<String>,
)
| 360 | pub fn row_count(&self) -> usize { |
| 361 | self.rows.len() |
| 362 | } |
| 363 | |
| 364 | #[inline] |
| 365 | pub fn col_count(&self) -> usize { |
| 366 | self.headers.len() |
| 367 | } |
| 368 | |
| 369 | #[inline] |
| 370 | pub fn headers(&self) -> &[String] { |
| 371 | &self.headers |
| 372 | } |
| 373 | |
| 374 | #[inline] |
| 375 | pub fn rows(&self) -> &[Vec<String>] { |