Disjoint

Trait Disjoint 

Source
pub trait Disjoint<Rhs> {
    // Required method
    fn is_disjoint(&self, other: &Rhs) -> bool;
}

Required Methods§

Source

fn is_disjoint(&self, other: &Rhs) -> bool

Returns true if the range is disjoint with other.

Implementations on Foreign Types§

Source§

impl<T: Copy + Ord> Disjoint<Range<T>> for Range<T>

Source§

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

Source§

impl<T: Copy + Ord> Disjoint<RangeSet<T>> for Range<T>

Source§

fn is_disjoint(&self, other: &RangeSet<T>) -> bool

Implementors§

Source§

impl<T: Copy + Ord> Disjoint<Range<T>> for RangeSet<T>

Source§

impl<T: Copy + Ord> Disjoint<RangeSet<T>> for RangeSet<T>