Trait RangePlus
nested_intervals
pub trait RangePlus<T> { fn overlaps(&self, other: &Range<T>) -> bool; }
Extend Range functionality with some often used bool functions
fn overlaps(&self, other: &Range<T>) -> bool
Does this interval overlap the other one?
impl RangePlus<u32> for Range<u32>
fn overlaps(&self, other: &Range<u32>) -> bool