pub fn is_uniform(rects: &[Rectangle]) -> bool
Returns true if all rectangles in the slice are identical.