alacritty::display::damage

Function rects_overlap

source
fn rects_overlap(lhs: Rect, rhs: Rect) -> bool
Expand description

Check if two given glutin::surface::Rect overlap.