Lines Matching refs:Bound
252 let (min, max) = (I::Bound::min_value(), I::Bound::max_value());
265 if self.ranges[0].lower() > I::Bound::min_value() {
267 self.ranges.push(I::create(I::Bound::min_value(), upper));
274 if self.ranges[drain_end - 1].upper() < I::Bound::max_value() {
276 self.ranges.push(I::create(lower, I::Bound::max_value()));
338 type Bound: Bound;
340 fn lower(&self) -> Self::Bound;
341 fn upper(&self) -> Self::Bound;
342 fn set_lower(&mut self, bound: Self::Bound);
343 fn set_upper(&mut self, bound: Self::Bound);
350 fn create(lower: Self::Bound, upper: Self::Bound) -> Self {
466 pub trait Bound:
476 impl Bound for u8 {
494 impl Bound for char {