Struct ndarray::Shape
[−]
[src]
pub struct Shape<D> { /* fields omitted */ }
A contiguous array shape of n dimensions.
Either c- or f- memory ordered (c a.k.a row major is the default).
Methods
impl<D> Shape<D> where
D: Dimension,
[src]
D: Dimension,
Trait Implementations
impl<D> From<D> for Shape<D> where
D: Dimension,
[src]
D: Dimension,
impl<D> ShapeBuilder for Shape<D> where
D: Dimension,
[src]
D: Dimension,
type Dim = D
type Strides = D
fn into_shape(self) -> Shape<D>
fn f(self) -> Self
fn set_f(self, is_f: bool) -> Self
fn strides(self, st: D) -> StrideShape<D>
impl<D: Copy> Copy for Shape<D>
[src]
impl<D: Clone> Clone for Shape<D>
[src]
fn clone(&self) -> Shape<D>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more