Trait Difference

Source
pub trait Difference<Rhs> {
    type Output;

    // Required method
    fn difference(&self, other: &Rhs) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn difference(&self, other: &Rhs) -> Self::Output

Returns the set difference of self and other.

Implementations on Foreign Types§

Source§

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

Source§

type Output = RangeSet<T>

Source§

fn difference(&self, other: &Range<T>) -> Self::Output

Source§

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

Source§

type Output = RangeSet<T>

Source§

fn difference(&self, other: &RangeSet<T>) -> Self::Output

Implementors§