pub trait IntoShapeVec {
// Required method
fn into_shape_vec(self) -> ShapeVec;
}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§
Sourcefn into_shape_vec(self) -> ShapeVec
fn into_shape_vec(self) -> ShapeVec
Convert this shape container into an owned ShapeVec.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".