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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".