Trait image_texel::layout::SliceLayout
source · [−]pub trait SliceLayout: Layout {
type Sample;
fn sample(&self) -> Texel<Self::Sample>;
fn len(&self) -> usize { ... }
}
Expand description
A layout that is a slice of samples.
These layouts are represented with a slice of a single type of samples. In particular these can be addressed and mutated independently.