Skip to main content

sect_rect

Function sect_rect 

Source
pub fn sect_rect(a: Rect, b: Rect) -> Option<Rect>
Expand description

sectRect: the intersection of the rectangles, or None if they do not intersect ((False, (0, 0, 0, 0))).