[][src]Struct staticvec::StaticVecIntoIter

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

A "consuming" iterator that reads each element out of a source StaticVec by value.

Implementations

impl<T, const N: usize> StaticVecIntoIter<T, N>[src]

pub fn bounds_to_string(&self) -> String where
    T: Debug
[src]

This is supported on feature="std" only.

Returns a string displaying the current values of the iterator's start and end elements on two separate lines. Locally requires that T implements Debug to make it possible to pretty-print the elements.

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

Returns an immutable slice consisting of the elements in the range between the iterator's start and end indices.

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

Returns a mutable slice consisting of the elements in the range between the iterator's start and end indices.

Trait Implementations

impl<T: Clone, const N: usize> Clone for StaticVecIntoIter<T, N>[src]

impl<T: Debug, const N: usize> Debug for StaticVecIntoIter<T, N>[src]

impl<T, const N: usize> DoubleEndedIterator for StaticVecIntoIter<T, N>[src]

impl<T, const N: usize> Drop for StaticVecIntoIter<T, N>[src]

impl<T, const N: usize> ExactSizeIterator for StaticVecIntoIter<T, N>[src]

impl<T, const N: usize> FusedIterator for StaticVecIntoIter<T, N>[src]

impl<T, const N: usize> Iterator for StaticVecIntoIter<T, N>[src]

type Item = T

The type of the elements being iterated over.

impl<T: Send, const N: usize> Send for StaticVecIntoIter<T, N>[src]

impl<T: Sync, const N: usize> Sync for StaticVecIntoIter<T, N>[src]

impl<T, const N: usize> TrustedLen for StaticVecIntoIter<T, N>[src]

Auto Trait Implementations

impl<const N: usize, T> RefUnwindSafe for StaticVecIntoIter<T, N> where
    T: RefUnwindSafe

impl<const N: usize, T> Unpin for StaticVecIntoIter<T, N> where
    T: Unpin

impl<const N: usize, T> UnwindSafe for StaticVecIntoIter<T, N> where
    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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.