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