Struct ndarray::iter::Indices [−][src]
pub struct Indices<D> where
D: Dimension, { /* fields omitted */ }
Expand description
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,
[src]impl<D: Dimension + Copy> NdProducer for Indices<D>
[src]
impl<D: Dimension + Copy> NdProducer for Indices<D>
[src]type Dim = D
type Dim = D
Dimension type
type Ptr = IndexPtr<D>
type Stride = usize
fn contiguous_stride(&self) -> Self::Stride
[src]
fn __private__(&self) -> PrivateMarker
[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
impl<D: Copy> Copy for Indices<D> where
D: Dimension,
[src]
D: Dimension,
Auto Trait Implementations
impl<D> RefUnwindSafe for Indices<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> Send for Indices<D>
impl<D> Sync for Indices<D>
impl<D> Unpin for Indices<D> where
D: Unpin,
D: Unpin,
impl<D> UnwindSafe for Indices<D> where
D: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more