pub trait IntoShape: Sealed { }Expand description
A shape argument: [2, 3] (of i32 or usize), a slice, a vector, a reference to any of
these, or () for a 0-D array. Every dimension must be in 0..=i32::MAX; reshape also
accepts one -1 (inferred). Anything else makes the operation fail with
crate::OpErrorKind::InvalidShape.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".