Struct ndarray::iter::Indices[][src]

pub struct Indices<D> where
    D: Dimension
{ /* fields omitted */ }

Indices producer and iterable.

Indices is an NdProducer that produces the indices of an array shape.

Trait Implementations

impl<D: Clone> Clone for Indices<D> where
    D: Dimension
[src]

impl<D: Copy> Copy for Indices<D> where
    D: Dimension
[src]

impl<D: Debug> Debug for Indices<D> where
    D: Dimension
[src]

impl<D> IntoIterator for Indices<D> where
    D: Dimension
[src]

type Item = D::Pattern

The type of the elements being iterated over.

type IntoIter = IndicesIter<D>

Which kind of iterator are we turning this into?

impl<D: Dimension + Copy> NdProducer for Indices<D>[src]

type Item = D::Pattern

The element produced per iteration.

type Dim = D

Dimension type

type Ptr = IndexPtr<D>

type Stride = usize

Auto Trait Implementations

impl<D> RefUnwindSafe for Indices<D> where
    D: RefUnwindSafe

impl<D> Send for Indices<D>

impl<D> Sync for Indices<D>

impl<D> Unpin for Indices<D> where
    D: Unpin

impl<D> UnwindSafe for Indices<D> where
    D: 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<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.