Trait IntoShapeVec
pub trait IntoShapeVec {
// Required method
fn into_shape_vec(self) -> SmallVec<[usize; 8]>;
}Expand description
Convert a common shape container into the dynamic owned shape type.
Arrays, vectors, slices, and ShapeVec implement this trait through
their AsRef<[usize]> representation.
Required Methods§
fn into_shape_vec(self) -> SmallVec<[usize; 8]>
fn into_shape_vec(self) -> SmallVec<[usize; 8]>
Convert this shape container into an owned ShapeVec.