pub struct UnionSet<'a>(pub HashSet<Cow<'a, Set<'a>>>);Expand description
A Set that is composed of all elements found in any member set.
Tuple Fields§
§0: HashSet<Cow<'a, Set<'a>>>The collection of sets whose contents make up this set.
Implementations§
Trait Implementations§
Source§impl<'a, A> FromIterator<A> for UnionSet<'a>
impl<'a, A> FromIterator<A> for UnionSet<'a>
Source§fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self
Creates a value from an iterator. Read more
impl<'a> Eq for UnionSet<'a>
impl<'a> StructuralPartialEq for UnionSet<'a>
Auto Trait Implementations§
impl<'a> Freeze for UnionSet<'a>
impl<'a> RefUnwindSafe for UnionSet<'a>
impl<'a> Send for UnionSet<'a>
impl<'a> Sync for UnionSet<'a>
impl<'a> Unpin for UnionSet<'a>
impl<'a> UnsafeUnpin for UnionSet<'a>
impl<'a> UnwindSafe for UnionSet<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.