[][src]Function sunrise_vi::get_intersect

fn get_intersect(
    (atop, aleft, awidth, aheight): (u32, u32, u32, u32),
    (btop, bleft, bwidth, bheight): (u32, u32, u32, u32)
) -> Option<(u32, u32, u32, u32)>

Gets the intersection between two rectangles.