Trait 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§