pub fn unite_rectangles<T: Copy + PartialOrd>( r1: &Rect<T>, r2: &Rect<T>, ) -> Rect<T>
Compute the union (bounding box) of two rectangles.