Skip to main content

ReshapeShapeExt

Trait ReshapeShapeExt 

Source
pub trait ReshapeShapeExt {
    // Required method
    fn reshape(&self, limit: Limit) -> ReshapedShape;
}
Expand description

Extension trait for reshaping Shapes by factoring large dimensions.

Required Methods§

Source

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".

Implementors§