Returns a [`RowRef`] for the entry at `idx`, if one exists.
(&self, idx: usize)
| 149 | |
| 150 | /// Returns a [`RowRef`] for the entry at `idx`, if one exists. |
| 151 | pub fn get(&self, idx: usize) -> Option<(&RowRef, &NonZeroUsize)> { |
| 152 | Some((self.rows.get(idx)?, self.diffs.get(idx)?)) |
| 153 | } |
| 154 | |
| 155 | /// "Sorts" the [`RowCollection`] by the column order in `order_by`. The output will be sorted |
| 156 | /// if the inputs were all sorted by the given order; otherwise, the order is unspecified. |
no outgoing calls