(&self, col: usize, key_hash: u64)
| 179 | #[inline] |
| 180 | pub fn header_index_hash(&self, name_hash: u64) -> Option<usize> { |
| 181 | self.headers.iter().position(|cell| cell.hash == name_hash) |
| 182 | } |
| 183 | |
| 184 | #[inline] |
| 185 | pub fn get(&self, row: usize, col: usize) -> Option<&'static str> { |
| 186 | self.rows.get(row).and_then(|row| row.get(col)) |
| 187 | } |
| 188 | |
| 189 | #[inline] |
| 190 | pub fn get_by_header(&self, row: usize, header: &str) -> Option<&'static str> { |
| 191 | let col = self.header_index(header)?; |