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

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

Trait for types that can be combined in the form of a union.

The union of a collection of sets is the set that contains all elements in the collection.

Required methods

Return a space enclosing self and other of type Self.

Provided methods

Return a space enclosing self and all other_spaces of type Self.

Implementations on Foreign Types

Implementors