Union

Trait Union 

Source
pub trait Union<Rhs> {
    type Output;

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

Required Associated Types§

Required Methods§

Source

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

Returns the set union of self and other.

Implementations on Foreign Types§

Source§

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

Source§

type Output = RangeSet<T>

Source§

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

Source§

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

Source§

type Output = RangeSet<T>

Source§

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

Implementors§