logo

Trait rg3d::gui::core::algebra::base::ReshapableStorage[][src]

pub trait ReshapableStorage<T, R1, C1, R2, C2>: RawStorage<T, R1, C1> where
    T: Scalar,
    R1: Dim,
    C1: Dim,
    R2: Dim,
    C2: Dim
{ type Output: RawStorage<T, R2, C2>; fn reshape_generic(self, nrows: R2, ncols: C2) -> Self::Output; }
Expand description

A matrix storage that can be reshaped in-place.

Associated Types

The reshaped storage type.

Required methods

Reshapes the storage into the output storage type.

Implementors