Trait image_texel::layout::MatrixLayout
source · [−]pub trait MatrixLayout: Layout {
fn matrix(&self) -> MatrixBytes;
}
Expand description
A layout that’s a matrix of elements.
Required Methods
fn matrix(&self) -> MatrixBytes
fn matrix(&self) -> MatrixBytes
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.