Type Definition ndarray::ArrayView [] [src]

type ArrayView<'a, A, D> = ArrayBase<ViewRepr<&'a A>, D>;

A read-only array view.

An array view represents an array or a part of it, created from an iterator, subview or slice of an array.

The ArrayView<'a, A, D> is parameterized by 'a for the scope of the borrow, A for the element type and D for the dimensionality.

Array views have all the methods of an array (see ArrayBase).

See also Methods Specific To Array Views

Trait Implementations

impl<'a, A, D> IntoIterator for ArrayView<'a, A, D> where
    D: Dimension
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, A, D: Dimension> NdProducer for ArrayView<'a, A, D>
[src]

The element produced per iteration.

Dimension type

This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more