Function has_incl_overlap

Source
pub fn has_incl_overlap<T: PartialOrd>(
    a_start: T,
    a_end: T,
    b_start: T,
    b_end: T,
) -> bool
Expand description

A convenience function that directly returns true if the two closed ranges given have overlap, with a_end and b_end included in the range.