pub type ArrayViewMut<'a, A, D> = ArrayBase<ViewRepr<&'a mut A>, D>;
Expand description
A read-write array view.
An array view represents an array or a part of it, created from an iterator, subview or slice of an array.
The ArrayViewMut<'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 ArrayView
.
Aliased Type§
struct ArrayViewMut<'a, A, D> {
pub(crate) data: ViewRepr<&'a mut A>,
pub(crate) ptr: NonNull<A>,
pub(crate) dim: D,
pub(crate) strides: D,
}
Fields§
§data: ViewRepr<&'a mut A>
§ptr: NonNull<A>
§dim: D
§strides: D