pub trait MatrixLayout: Layout {
    fn matrix(&self) -> MatrixBytes;
}
Expand description

A layout that’s a matrix of elements.

Required Methods

The valid matrix specification of this layout.

This call should not fail, or panic. Otherwise, prefer an optional getter for the StridedBytes and have the caller decay their own buffer.

Implementors