Struct Difference
pub struct Difference<'a, T, S> { /* private fields */ }
A lazy iterator producing elements in the difference of IndexSets.
This struct is created by the IndexSet::difference method.
See its documentation for more.
Trait Implementations
impl<'a, T, S> Iterator for Difference<'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>)
impl<T, S> Clone for Difference<'_, T, S>
fn clone(&self) -> Self
impl<T, S> Debug for Difference<'_, T, S>
where
T: Debug + Eq + Hash,
S: BuildHasher,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T, S> DoubleEndedIterator for Difference<'_, T, S>
where
T: Eq + Hash,
S: BuildHasher,
fn next_back(&mut self) -> Option<Self::Item>