(&self, key: K)
| 840 | } |
| 841 | |
| 842 | fn is_in_end_bound(&self, key: K) -> bool { |
| 843 | match self.end { |
| 844 | Bound::Included(k) => self.cursor.comp.cmp(k, key).is_ge(), |
| 845 | Bound::Excluded(k) => self.cursor.comp.cmp(k, key).is_gt(), |
| 846 | Bound::Unbounded => true, |
| 847 | } |
| 848 | } |
| 849 | } |
| 850 | |
| 851 | #[cfg(test)] |