Struct IntoIter
pub struct IntoIter<A: Array> { /* private fields */ }
An iterator that consumes a SmallVec and yields its items by value.
Returned from SmallVec::into_iter.
Implementations
impl<A: Array> IntoIter<A>
fn as_slice(&self) -> &[A::Item]Returns the remaining items of this iterator as a slice.
fn as_mut_slice(&mut self) -> &mut [A::Item]Returns the remaining items of this iterator as a mutable slice.
Trait Implementations
impl<A: Array + Clone> Clone for IntoIter<A>
where
A::Item: Clone,
fn clone(&self) -> IntoIter<A>
impl<A: Array> Debug for IntoIter<A>
where
A::Item: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<A: Array> DoubleEndedIterator for IntoIter<A>
fn next_back(&mut self) -> Option<A::Item>
impl<A: Array> Drop for IntoIter<A>
fn drop(&mut self)
impl<A: Array> ExactSizeIterator for IntoIter<A>
impl<A: Array> FusedIterator for IntoIter<A>
impl<A: Array> Iterator for IntoIter<A>
type Item = <A as Array>::Item;fn next(&mut self) -> Option<A::Item>fn size_hint(&self) -> (usize, Option<usize>)
Auto Trait Implementations
impl<A> Freeze for IntoIter<A>
where
SmallVec<A>: Freeze,
impl<A> RefUnwindSafe for IntoIter<A>
where
SmallVec<A>: RefUnwindSafe,
impl<A> Send for IntoIter<A>
where
SmallVec<A>: Send,
impl<A> Sync for IntoIter<A>
where
SmallVec<A>: Sync,
impl<A> Unpin for IntoIter<A>
where
SmallVec<A>: Unpin,
impl<A> UnsafeUnpin for IntoIter<A>
where
SmallVec<A>: UnsafeUnpin,
impl<A> UnwindSafe for IntoIter<A>
where
SmallVec<A>: UnwindSafe,
Blanket Implementations
impl<I> IntoIterator for IntoIter<A>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for IntoIter<A>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IntoIter<A>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IntoIter<A>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for IntoIter<A>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for IntoIter<A>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for IntoIter<A>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for IntoIter<A>
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<A>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IntoIter<A>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>