Lines Matching refs:Bound
104 fn start_bound(&self) -> std::ops::Bound<&usize> {
105 std::ops::Bound::Included(&self.start_inclusive)
108 fn end_bound(&self) -> std::ops::Bound<&usize> {
109 std::ops::Bound::Included(&self.end_inclusive)
199 assert_eq!(range.start_bound(), std::ops::Bound::Included(&5));
200 assert_eq!(range.end_bound(), std::ops::Bound::Included(&5));
210 assert_eq!(range.start_bound(), std::ops::Bound::Included(&0));
211 assert_eq!(range.end_bound(), std::ops::Bound::Included(&0));
221 assert_eq!(range.start_bound(), std::ops::Bound::Included(&5));
222 assert_eq!(range.end_bound(), std::ops::Bound::Included(&9));
232 assert_eq!(range.start_bound(), std::ops::Bound::Included(&5));
233 assert_eq!(range.end_bound(), std::ops::Bound::Included(&10));
243 assert_eq!(range.start_bound(), std::ops::Bound::Included(&0));
244 assert_eq!(range.end_bound(), std::ops::Bound::Included(&usize::MAX));
254 assert_eq!(range.start_bound(), std::ops::Bound::Included(&5));
255 assert_eq!(range.end_bound(), std::ops::Bound::Included(&usize::MAX));
265 assert_eq!(range.start_bound(), std::ops::Bound::Included(&0));
266 assert_eq!(range.end_bound(), std::ops::Bound::Included(&9));
276 assert_eq!(range.start_bound(), std::ops::Bound::Included(&0));
277 assert_eq!(range.end_bound(), std::ops::Bound::Included(&10));