pub fn has_open_incl_overlap<T: PartialOrd>(
a_start: Option<T>,
a_end: Option<T>,
b_start: Option<T>,
b_end: Option<T>,
) -> bool
Expand description
A convenience function that directly returns true
if the two ranges given
(which may be closed, half-open, or fully open) have overlap, with a_end
and b_end
included in the range.