pub trait ReshapeShapeExt {
// Required method
fn reshape(&self, limit: Limit) -> ReshapedShape;
}Expand description
Extension trait for reshaping Shapes by factoring large dimensions.
Required Methods§
Sourcefn reshape(&self, limit: Limit) -> ReshapedShape
fn reshape(&self, limit: Limit) -> ReshapedShape
Produces a reshaped version of the shape with expanded dimensions under the given size limit.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".