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

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: 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

impl<D: Clone> Clone 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: Copy> Copy for Indices<D> where
    D: Dimension
[src]

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

Auto Trait Implementations

impl<D> Send for Indices<D>

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

impl<D> Sync for Indices<D>

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

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

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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