Struct tract_hir::internal::tract_data::internal::tract_smallvec::IntoIter[]

pub struct IntoIter<A> where
    A: Array
{ /* fields omitted */ }

An iterator that consumes a SmallVec and yields its items by value.

Returned from SmallVec::into_iter.

Implementations

impl<A> IntoIter<A> where
    A: Array

pub fn as_slice(&self) -> &[<A as Array>::Item]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]

Returns the remaining items of this iterator as a slice.

pub fn as_mut_slice(&mut self) -> &mut [<A as Array>::Item]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]

Returns the remaining items of this iterator as a mutable slice.

Trait Implementations

impl<A> Clone for IntoIter<A> where
    A: Array + Clone,
    <A as Array>::Item: Clone

impl<A> Debug for IntoIter<A> where
    A: Array,
    <A as Array>::Item: Debug

impl<A> DoubleEndedIterator for IntoIter<A> where
    A: Array

impl<A> Drop for IntoIter<A> where
    A: Array

impl<A> ExactSizeIterator for IntoIter<A> where
    A: Array

impl<A> FusedIterator for IntoIter<A> where
    A: Array

impl<A> Iterator for IntoIter<A> where
    A: Array

type Item = <A as Array>::Item

The type of the elements being iterated over.

Auto Trait Implementations

impl<A> RefUnwindSafe for IntoIter<A> where
    A: RefUnwindSafe,
    <A as Array>::Item: RefUnwindSafe

impl<A> Send for IntoIter<A> where
    <A as Array>::Item: Send

impl<A> Sync for IntoIter<A> where
    A: Sync

impl<A> Unpin for IntoIter<A> where
    A: Unpin

impl<A> UnwindSafe for IntoIter<A> where
    A: UnwindSafe,
    <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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> DynClone for T where
    T: Clone
[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> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<D, A, I> MaybeProduct<D> for I where
    I: Iterator<Item = A>,
    A: Borrow<D>,
    D: DimLike

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.