Struct Splice
pub struct Splice<'a, I, T, S>
where
I: Iterator<Item = T>,
T: Hash + Eq,
S: BuildHasher, { /* private fields */ }
A splicing iterator for IndexSet.
This struct is created by [IndexSet::splice()].
See its documentation for more.
Trait Implementations
impl<I, T, S> Debug for Splice<'_, I, T, S>
where
I: Debug + Iterator<Item = T>,
T: Debug + Hash + Eq,
S: BuildHasher,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<I, T, S> DoubleEndedIterator for Splice<'_, I, T, S>
where
I: Iterator<Item = T>,
T: Hash + Eq,
S: BuildHasher,
fn next_back(&mut self) -> Option<Self::Item>
impl<I, T, S> ExactSizeIterator for Splice<'_, I, T, S>
where
I: Iterator<Item = T>,
T: Hash + Eq,
S: BuildHasher,
fn len(&self) -> usize
impl<I, T, S> FusedIterator for Splice<'_, I, T, S>
where
I: Iterator<Item = T>,
T: Hash + Eq,
S: BuildHasher,
impl<I, T, S> Iterator for Splice<'_, I, T, S>
where
I: Iterator<Item = T>,
T: Hash + Eq,
S: BuildHasher,
type Item = T;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)
Auto Trait Implementations
impl<'a, I, T, S> !UnwindSafe for Splice<'a, I, T, S>
impl<'a, I, T, S> Freeze for Splice<'a, I, T, S>
where
Splice<'a, UnitValue<I>, T, (), S>: Freeze,
impl<'a, I, T, S> RefUnwindSafe for Splice<'a, I, T, S>
where
Splice<'a, UnitValue<I>, T, (), S>: RefUnwindSafe,
impl<'a, I, T, S> Send for Splice<'a, I, T, S>
where
Splice<'a, UnitValue<I>, T, (), S>: Send,
impl<'a, I, T, S> Sync for Splice<'a, I, T, S>
where
Splice<'a, UnitValue<I>, T, (), S>: Sync,
impl<'a, I, T, S> Unpin for Splice<'a, I, T, S>
where
Splice<'a, UnitValue<I>, T, (), S>: Unpin,
impl<'a, I, T, S> UnsafeUnpin for Splice<'a, I, T, S>
where
Splice<'a, UnitValue<I>, T, (), S>: UnsafeUnpin,
Blanket Implementations
impl<I> IntoIterator for Splice<'a, I, T, S>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for Splice<'a, I, T, S>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Splice<'a, I, T, S>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Splice<'a, I, T, S>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Splice<'a, I, T, S>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Splice<'a, I, T, S>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Splice<'a, I, T, S>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Splice<'a, I, T, S>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>