[][src]Struct generic_vec::iter::IntoIter

pub struct IntoIter<T, S: ?Sized + Storage<T>> { /* fields omitted */ }

This struct is created by GenericVec::into_iter. See its documentation for more.

Implementations

impl<T, S: ?Sized + Storage<T>> IntoIter<T, S>[src]

pub fn as_slice(&self) -> &[T][src]

Get a slice to the remaining elements in the iterator

pub fn as_mut_slice(&mut self) -> &mut [T][src]

Get a mutable slice to the remaining elements in the iterator

Trait Implementations

impl<T, S: ?Sized + Storage<T>> DoubleEndedIterator for IntoIter<T, S>[src]

impl<T, S: ?Sized + Storage<T>> Drop for IntoIter<T, S>[src]

impl<T, S: ?Sized + Storage<T>> ExactSizeIterator for IntoIter<T, S>[src]

impl<T, S: ?Sized + Storage<T>> FusedIterator for IntoIter<T, S>[src]

impl<T, S: ?Sized + Storage<T>> Iterator for IntoIter<T, S>[src]

type Item = T

The type of the elements being iterated over.

Auto Trait Implementations

impl<T, S: ?Sized> RefUnwindSafe for IntoIter<T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, S: ?Sized> Send for IntoIter<T, S> where
    S: Send,
    T: Send

impl<T, S: ?Sized> Sync for IntoIter<T, S> where
    S: Sync,
    T: Sync

impl<T, S: ?Sized> Unpin for IntoIter<T, S> where
    S: Unpin,
    T: Unpin

impl<T, S: ?Sized> UnwindSafe for IntoIter<T, S> where
    S: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.