[][src]Struct generic_vec::iter::Drain

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

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

Trait Implementations

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

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

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

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

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

type Item = T

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, S: ?Sized> RefUnwindSafe for Drain<'a, T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, S: ?Sized> Send for Drain<'a, T, S> where
    S: Send,
    T: Send

impl<'a, T, S: ?Sized> Sync for Drain<'a, T, S> where
    S: Sync,
    T: Sync

impl<'a, T, S: ?Sized> Unpin for Drain<'a, T, S>

impl<'a, T, S> !UnwindSafe for Drain<'a, T, S>

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.