Intersection

Trait Intersection 

Source
pub trait Intersection<RHS = Self> {
    type Output;

    // Required method
    fn intersection(&self, rhs: &RHS) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn intersection(&self, rhs: &RHS) -> Self::Output

Implementations on Foreign Types§

Source§

impl Intersection<Optional<bool>> for bool

Source§

impl Intersection<Optional<char>> for char

Source§

impl Intersection<Optional<f32>> for f32

Source§

impl Intersection<Optional<f64>> for f64

Source§

impl Intersection<Optional<i8>> for i8

Source§

impl Intersection<Optional<i16>> for i16

Source§

impl Intersection<Optional<i32>> for i32

Source§

impl Intersection<Optional<i64>> for i64

Source§

impl Intersection<Optional<isize>> for isize

Source§

impl Intersection<Optional<u8>> for u8

Source§

impl Intersection<Optional<u16>> for u16

Source§

impl Intersection<Optional<u32>> for u32

Source§

impl Intersection<Optional<u64>> for u64

Source§

impl Intersection<Optional<usize>> for usize

Implementors§

Source§

impl Intersection for BitSet

Source§

impl Intersection<Interval<i8>> for Optional<i8>

Source§

impl Intersection<Interval<i16>> for Optional<i16>

Source§

impl Intersection<Interval<i32>> for Optional<i32>

Source§

impl Intersection<Interval<i64>> for Optional<i64>

Source§

impl Intersection<Interval<isize>> for Optional<isize>

Source§

impl Intersection<Interval<u8>> for Optional<u8>

Source§

impl Intersection<Interval<u16>> for Optional<u16>

Source§

impl Intersection<Interval<u32>> for Optional<u32>

Source§

impl Intersection<Interval<u64>> for Optional<u64>

Source§

impl Intersection<Interval<usize>> for Optional<usize>

Source§

impl<Bound> Intersection for Interval<Bound>
where Bound: Width + Num,

Source§

type Output = Interval<Bound>

Source§

impl<Bound> Intersection<Optional<Bound>> for Interval<Bound>
where Bound: Width + Num,

Source§

type Output = Interval<Bound>

Source§

impl<Bound> Intersection<Bound> for Interval<Bound>
where Bound: Width + Num,

Source§

type Output = Interval<Bound>

Source§

impl<Bound> Intersection<Bound> for IntervalSet<Bound>
where Bound: Width + Num + Clone,

Source§

impl<Bound: Width + Num> Intersection for IntervalSet<Bound>

Source§

impl<T> Intersection for BTreeSet<T>
where T: Ord + Clone,

Source§

impl<T> Intersection for Optional<T>
where T: Clone + PartialEq,

Source§

impl<T> Intersection<T> for Optional<T>
where T: Clone + PartialEq,

Source§

impl<T, S> Intersection for HashSet<T, S>
where T: Eq + Hash + Clone, S: BuildHasher + Default,

Source§

type Output = HashSet<T, S>