Expand description
Buffer-layout-specific traits for user-defined behavior.
Layout
’s job is to split a buffer into sub-slices that will then be distributed to tile to
be rendered, and to write color data to these sub-slices.
Structs§
- Chunks
- An iterator returned by
Span::chunks
. - Linear
Layout - A linear buffer layout where each optionally strided pixel row of an image is saved sequentially into the buffer.
- Ref
- A reference wrapper returned by
SliceCache::access
. - Slice
- A
slice
wrapper produced bySliceCache::access
. - Slice
Cache - A cache of non-overlapping mutable sub-slices of that enforces lifetimes dynamically.
- Span
- A marker produced by
SliceCache
that ensures that all resultingSpan
s will be mutually non-overlapping.