Lines Matching defs:intersection
113 // the intersection to the end of this range, and then drain it before
240 let mut intersection = self.clone();
241 intersection.intersect(other);
243 self.difference(&intersection);
376 /// If the intersection is empty, then this returns `None`.
402 // a non-empty intersection.
422 /// returns the union of the two ranges minus its intersection.
431 let intersection = match self.intersect(other) {
433 Some(intersection) => intersection,
435 union.difference(&intersection)
449 /// Returns true if and only if the intersection of this range and the