[][src]Struct no_std_compat::array::IntoIter

pub struct IntoIter<const N: usize, T> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (array_value_iter)

A by-value array iterator.

Implementations

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

pub fn new(array: [T; N]) -> IntoIter<T, N>

Important traits for IntoIter<T, N>

impl<const N: usize, T> Iterator for IntoIter<T, N> type Item = T;
[src]

🔬 This is a nightly-only experimental API. (array_value_iter)

Creates a new iterator over the given array.

Note: this method might never get stabilized and/or removed in the future as there will likely be another, preferred way of obtaining this iterator (either via IntoIterator for arrays or via another way).

Trait Implementations

impl<const N: usize, T> Clone for IntoIter<T, N> where
    T: Clone
1.40.0[src]

impl<const N: usize, T> Debug for IntoIter<T, N> where
    T: Debug
1.40.0[src]

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

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

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

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

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

type Item = T

The type of the elements being iterated over.

Auto Trait Implementations

impl<const N: usize, T> Send for IntoIter<T, N> where
    T: Send

impl<const N: usize, T> Sync for IntoIter<T, N> where
    T: Sync

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

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.