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,

impl<T> Any for IntoIter<A> where T: 'static + ?Sized,

impl<T> Borrow<T> for IntoIter<A> where T: ?Sized,

impl<T> BorrowMut<T> for IntoIter<A> where T: ?Sized,

impl<T> CloneToUninit for IntoIter<A> where T: Clone,

impl<T> From<T> for IntoIter<A>

impl<T> ToOwned for IntoIter<A> where T: Clone,

impl<T, U> Into<U> for IntoIter<A> where U: From<T>,

impl<T, U> TryFrom<U> for IntoIter<A> where U: Into<T>,

impl<T, U> TryInto<U> for IntoIter<A> where U: TryFrom<T>,