pub fn union(rects: &[Rectangle]) -> Rectangle
Computes the bounding rectangle of all input rectangles.