(start: &FrameBound, end: &FrameBound, pos: usize, len: usize)
| 63 | // ── ROWS ───────────────────────────────────────────────────────────────────── |
| 64 | |
| 65 | fn rows_bounds(start: &FrameBound, end: &FrameBound, pos: usize, len: usize) -> (usize, usize) { |
| 66 | let start_idx = rows_bound_to_idx(start, pos, len, true); |
| 67 | let end_idx = rows_bound_to_idx(end, pos, len, false); |
| 68 | (start_idx.min(end_idx), start_idx.max(end_idx)) |
| 69 | } |
| 70 | |
| 71 | fn rows_bound_to_idx(bound: &FrameBound, pos: usize, len: usize, _is_start: bool) -> usize { |
| 72 | match bound { |
no test coverage detected