pub fn intersect_rectangles<T: Copy + PartialOrd>( r1: &Rect<T>, r2: &Rect<T>, ) -> Rect<T>
Compute the intersection of two rectangles.