[][src]Struct ndarray::iter::AxisChunksIterMut

pub struct AxisChunksIterMut<'a, A, D> { /* fields omitted */ }

An iterator that traverses over the specified axis and yields mutable views of the specified size on this axis.

For example, in a 2 × 8 × 3 array, if the axis of iteration is 1 and the chunk size is 2, the yielded elements are 2 × 2 × 3 views (and there are 4 in total).

Iterator element type is ArrayViewMut<'a, A, D>.

See .axis_chunks_iter_mut() for more information.

Methods

impl<'a, A, D> AxisChunksIterMut<'a, A, D> where
    D: Dimension
[src]

pub fn split_at(self, index: usize) -> (Self, Self)[src]

Splits the iterator at index, yielding two disjoint iterators.

index is relative to the current state of the iterator (which is not necessarily the start of the axis).

Panics if index is strictly greater than the iterator's remaining length.

Trait Implementations

impl<'a, A, D> Send for AxisChunksIterMut<'a, A, D> where
    A: Send,
    D: Send
[src]

impl<'a, A, D> ExactSizeIterator for AxisChunksIterMut<'a, A, D> where
    D: Dimension
[src]

impl<'a, A, D> Sync for AxisChunksIterMut<'a, A, D> where
    A: Sync,
    D: Sync
[src]

impl<'a, A, D> DoubleEndedIterator for AxisChunksIterMut<'a, A, D> where
    D: Dimension
[src]

impl<'a, A, D> Iterator for AxisChunksIterMut<'a, A, D> where
    D: Dimension
[src]

type Item = ArrayViewMut<'a, A, D>

The type of the elements being iterated over.

impl<'a, A, D> IntoParallelIterator for AxisChunksIterMut<'a, A, D> where
    D: Dimension,
    A: Send + Sync
[src]

Requires crate feature rayon.

type Item = Self::Item

The type of item that the parallel iterator will produce.

type Iter = Parallel<Self>

The parallel iterator type that will be created.

Auto Trait Implementations

impl<'a, A, D> Unpin for AxisChunksIterMut<'a, A, D> where
    D: Unpin

impl<'a, A, D> !UnwindSafe for AxisChunksIterMut<'a, A, D>

impl<'a, A, D> RefUnwindSafe for AxisChunksIterMut<'a, A, D> where
    A: RefUnwindSafe,
    D: RefUnwindSafe

Blanket Implementations

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]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> IntoParallelIterator for T where
    T: ParallelIterator
[src]

type Iter = T

The parallel iterator type that will be created.

type Item = <T as ParallelIterator>::Item

The type of item that the parallel iterator will produce.

impl<T> ParallelBridge for T where
    T: Send + Iterator,
    <T as Iterator>::Item: Send
[src]