Trait nested_intervals::RangePlus

source ·
pub trait RangePlus<T> {
    // Required method
    fn overlaps(&self, other: &Range<T>) -> bool;
}
Expand description

Extend Range functionality with some often used bool functions

Required Methods§

source

fn overlaps(&self, other: &Range<T>) -> bool

Does this interval overlap the other one?

Implementations on Foreign Types§

source§

impl<T: Rangable> RangePlus<T> for Range<T>

source§

fn overlaps(&self, other: &Range<T>) -> bool

Implementors§