Struct IntoIter
pub struct IntoIter<T> { /* private fields */ }
An owning iterator over the items of an IndexSet.
This struct is created by the IndexSet::into_iter method
(provided by the IntoIterator trait). See its documentation for more.
Implementations
impl<T> IntoIter<T>
fn as_slice(&self) -> &Slice<T>Returns a slice of the remaining entries in the iterator.
Trait Implementations
impl<T> Default for IntoIter<T>
fn default() -> Self
impl<T> DoubleEndedIterator for IntoIter<T>
fn next_back(&mut self) -> Option<Self::Item>fn nth_back(&mut self, n: usize) -> Option<Self::Item>
impl<T> ExactSizeIterator for IntoIter<T>
fn len(&self) -> usize
impl<T> FusedIterator for IntoIter<T>
impl<T> Iterator for IntoIter<T>
type Item = T;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)fn count(self) -> usizefn nth(&mut self, n: usize) -> Option<Self::Item>fn last(self) -> Option<Self::Item>fn collect<C>(self) -> C where C: FromIterator<Self::Item>,
impl<T: Clone> Clone for IntoIter<T>
fn clone(&self) -> IntoIter<T>
impl<T: Debug> Debug for IntoIter<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<T> Freeze for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: Freeze,
impl<T> RefUnwindSafe for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: RefUnwindSafe,
impl<T> Send for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: Send,
impl<T> Sync for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: Sync,
impl<T> Unpin for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: Unpin,
impl<T> UnsafeUnpin for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: UnsafeUnpin,
impl<T> UnwindSafe for IntoIter<T>
where
IntoIter<Bucket<T, ()>>: UnwindSafe,
Blanket Implementations
impl<I> IntoIterator for IntoIter<T>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for IntoIter<T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IntoIter<T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IntoIter<T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for IntoIter<T>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for IntoIter<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for IntoIter<T>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for IntoIter<T>
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 IntoIter<T>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IntoIter<T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>