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> IntoIterator for Indices<D> where
D: Dimension, [src]
D: Dimension,
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?
fn into_iter(self) -> Self::IntoIter[src]
Creates an iterator from a value. Read more
impl<D: Copy> Copy for Indices<D> where
D: Dimension, [src]
D: Dimension,
impl<D: Clone> Clone for Indices<D> where
D: Dimension, [src]
D: Dimension,
fn clone(&self) -> Indices<D>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<D: Debug> Debug for Indices<D> where
D: Dimension, [src]
D: Dimension,
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
fn contiguous_stride(&self) -> Self::Stride[src]
fn __private__(&self) -> PrivateMarker[src]
This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more