Struct arrayvec::Drain[][src]

pub struct Drain<'a, A> where
    A: Array,
    A::Item: 'a, 
{ /* fields omitted */ }

A draining iterator for ArrayVec.

Trait Implementations

impl<'a, A: Array> DoubleEndedIterator for Drain<'a, A> where
    A::Item: 'a, 
[src]

impl<'a, A: Array> Drop for Drain<'a, A> where
    A::Item: 'a, 
[src]

impl<'a, A: Array> ExactSizeIterator for Drain<'a, A> where
    A::Item: 'a, 
[src]

impl<'a, A: Array> Iterator for Drain<'a, A> where
    A::Item: 'a, 
[src]

type Item = A::Item

The type of the elements being iterated over.

impl<'a, A: Array + Send> Send for Drain<'a, A>[src]

impl<'a, A: Array + Sync> Sync for Drain<'a, A>[src]

Auto Trait Implementations

impl<'a, A> RefUnwindSafe for Drain<'a, A> where
    A: RefUnwindSafe,
    <A as Array>::Index: RefUnwindSafe,
    <A as Array>::Item: RefUnwindSafe

impl<'a, A> Unpin for Drain<'a, A>

impl<'a, A> UnwindSafe for Drain<'a, A> where
    A: RefUnwindSafe,
    <A as Array>::Index: RefUnwindSafe,
    <A as Array>::Item: RefUnwindSafe

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.