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