pub trait Intersect<S = Self> {
    fn intersect(self, other: &S) -> Self;

    fn intersect_many(self, other_spaces: &[S]) -> Self
    where
        Self: Sized
, { ... } }
Expand description

Trait for types that can be combined in the form of an intersection.

The intersection of a collection of sets is the set that contains only those elements present in each.

Required methods

Return the smallest space enclosing self and other of type Self.

Provided methods

Return the smallest space enclosing self and all other_spaces of type Self.

Implementations on Foreign Types

Implementors