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]
impl<D> Shape<D> where
D: Dimension, Trait Implementations
impl<D> From<D> for Shape<D> where
D: Dimension, [src]
impl<D> From<D> for Shape<D> where
D: Dimension, fn from(dimension: D) -> Shape<D>[src]
fn from(dimension: D) -> Shape<D>Create a Shape from dimension, using the default memory layout.
impl<D> ShapeBuilder for Shape<D> where
D: Dimension, [src]
impl<D> ShapeBuilder for Shape<D> where
D: Dimension, type Dim = D
type Strides = D
fn into_shape(self) -> Shape<D>[src]
fn into_shape(self) -> Shape<D>fn f(self) -> Self[src]
fn f(self) -> Selffn set_f(self, is_f: bool) -> Self[src]
fn set_f(self, is_f: bool) -> Selffn strides(self, st: D) -> StrideShape<D>[src]
fn strides(self, st: D) -> StrideShape<D>impl<D: Copy> Copy for Shape<D>[src]
impl<D: Copy> Copy for Shape<D>impl<D: Clone> Clone for Shape<D>[src]
impl<D: Clone> Clone for Shape<D>fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<D: Debug> Debug for Shape<D>[src]
impl<D: Debug> Debug for Shape<D>