[][src]Struct const_arrayvec::Drain

pub struct Drain<'a, T, const N: usize> { /* fields omitted */ }

Methods

impl<'a, T, const N: usize> Drain<'a, T, { N }>[src]

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

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

Trait Implementations

impl<'a, T: Debug, const N: usize> Debug for Drain<'a, T, N>[src]

impl<'a, T: PartialEq, const N: usize> PartialEq<Drain<'a, T, N>> for Drain<'a, T, N>[src]

impl<'a, T, const N: usize> Drop for Drain<'a, T, { N }>[src]

impl<'a, T, const N: usize> StructuralPartialEq for Drain<'a, T, N>[src]

impl<'a, T, const N: usize> Iterator for Drain<'a, T, { N }>[src]

type Item = T

The type of the elements being iterated over.

impl<'a, T, const N: usize> DoubleEndedIterator for Drain<'a, T, { N }>[src]

impl<'a, T, const N: usize> ExactSizeIterator for Drain<'a, T, { N }>[src]

impl<'a, T, const N: usize> FusedIterator for Drain<'a, T, { N }>[src]

Auto Trait Implementations

impl<'a, const N: usize, T> Unpin for Drain<'a, T, N>

impl<'a, const N: usize, T> !Send for Drain<'a, T, N>

impl<'a, const N: usize, T> !Sync for Drain<'a, T, N>

Blanket Implementations

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

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<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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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