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.
Return a space enclosing self
and other
of type Self
.
Return a space enclosing self
and all other_spaces
of
type Self
.
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union> Union<(D1, D2, D3, D4, D5)> for (D1, D2, D3, D4, D5)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union> Union<(D1, D2, D3, D4, D5, D6)> for (D1, D2, D3, D4, D5, D6)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union, D7: Union> Union<(D1, D2, D3, D4, D5, D6, D7)> for (D1, D2, D3, D4, D5, D6, D7)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union, D7: Union, D8: Union> Union<(D1, D2, D3, D4, D5, D6, D7, D8)> for (D1, D2, D3, D4, D5, D6, D7, D8)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union, D7: Union, D8: Union, D9: Union> Union<(D1, D2, D3, D4, D5, D6, D7, D8, D9)> for (D1, D2, D3, D4, D5, D6, D7, D8, D9)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union, D7: Union, D8: Union, D9: Union, D10: Union> Union<(D1, D2, D3, D4, D5, D6, D7, D8, D9, D10)> for (D1, D2, D3, D4, D5, D6, D7, D8, D9, D10)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union, D7: Union, D8: Union, D9: Union, D10: Union, D11: Union> Union<(D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11)> for (D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11)
sourceimpl<D1: Union, D2: Union, D3: Union, D4: Union, D5: Union, D6: Union, D7: Union, D8: Union, D9: Union, D10: Union, D11: Union, D12: Union> Union<(D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12)> for (D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12)