Struct Union
pub struct Union<'a, T, S> { /* private fields */ }
A lazy iterator producing elements in the union of IndexSets.
This struct is created by the IndexSet::union method.
See its documentation for more.
Trait Implementations
impl<'a, T, S> Iterator for Union<'a, T, S>
where
T: Eq + Hash,
S: BuildHasher,
type Item = &'a T;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)fn fold<B, F>(self, init: B, f: F) -> B where F: FnMut(B, Self::Item) -> B,
impl<T, S> Clone for Union<'_, T, S>
fn clone(&self) -> Self
impl<T, S> Debug for Union<'_, T, S>
where
T: Debug + Eq + Hash,
S: BuildHasher,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T, S> DoubleEndedIterator for Union<'_, T, S>
where
T: Eq + Hash,
S: BuildHasher,
fn next_back(&mut self) -> Option<Self::Item>fn rfold<B, F>(self, init: B, f: F) -> B where F: FnMut(B, Self::Item) -> B,