A read-only array view without a lifetime.
This is similar to
ArrayView but does not carry any lifetime or
ownership information, and its data cannot be read without an unsafe
conversion into an
ArrayView. The relationship between
ArrayView is somewhat analogous to the relationship between
*const T and
RawArrayView has additional requirements that
does not, such as non-nullness.
RawArrayView<A, D> is parameterized by
A for the element type and
D for the dimensionality.
Raw array views have all the methods of an array (see
You can’t use this type with an arbitrary raw pointer; see
from_shape_ptr for details.