pub trait IntoShape {
type IntoShape: Shape;
// Required method
fn into_shape(self) -> Self::IntoShape;
}Expand description
Conversion trait into an array shape.
Required Associated Types§
Required Methods§
Sourcefn into_shape(self) -> Self::IntoShape
fn into_shape(self) -> Self::IntoShape
Creates an array shape from a value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.